Skip to content

babel: command not found #7

@JakeHartnell

Description

@JakeHartnell

npm install graphql-directive-computed-property fails. : /

To reproduce:

mkdir babelNotfound
npm install graphql-directive-computed-property

Babel is in devDependencies, but it's actually required to build this package. Not every project has Babel as a dependency, so the options are:

  1. Include it as a regular dependency. : /
  2. For distribution to npm include the build.

See: https://github.com/bookercodes/articles/blob/master/how-to-build-and-publish-es6-npm-modules-today-with-babel.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions