Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel: command not found #7

Open
JakeHartnell opened this issue Jan 18, 2019 · 1 comment
Open

babel: command not found #7

JakeHartnell opened this issue Jan 18, 2019 · 1 comment
Labels
good first issue Good for newcomers

Comments

@JakeHartnell
Copy link
Contributor

JakeHartnell commented Jan 18, 2019

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

@czystyl
Copy link
Member

czystyl commented Jan 20, 2019

@JakeHartnell definitely it should be bundled before release so I'll try to do or if you want PR is welcome :)

@czystyl czystyl added the good first issue Good for newcomers label Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants