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

Only works when installed globally #194

Closed
tleunen opened this issue Mar 16, 2016 · 3 comments
Closed

Only works when installed globally #194

tleunen opened this issue Mar 16, 2016 · 3 comments

Comments

@tleunen
Copy link
Contributor

tleunen commented Mar 16, 2016

gatsby only works when installed globally.. tried both gatsby develop and ../node_modules/.bin/gatsby develop after installing the documentation starter kit in a new directory.

The first command works as expected, the second fails.

Failed to require /Users/tleunen/testgatsby/docs/html.jsx
../~/webpack-require/lib/webpackRequireEntrypoint.js
Module not found: Error: Cannot resolve module 'babel' in /Users/tleunen/testgatsby/node_modules/webpack-require/lib
@NogsMPLS
Copy link
Contributor

See discussion at #152

@tleunen
Copy link
Contributor Author

tleunen commented Mar 16, 2016

Oh ok thanks.

Same thing happens with the build command, which is quite important to be able to easily integrate gatsby in a release flow :/

@KyleAMathews
Copy link
Contributor

This is on my short-list to fix but feel free to jump in with a PR in the
meantime if it's blocking you :-)
On Wed, Mar 16, 2016 at 10:43 AM Tommy notifications@github.com wrote:

Oh ok thanks.

Same thing happens with the build command, which is quite important to be
able to easily integrate gatsby in a release flow :/


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#194 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants