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

i can't build #2

Closed
masbog opened this issue Feb 13, 2018 · 3 comments
Closed

i can't build #2

masbog opened this issue Feb 13, 2018 · 3 comments
Assignees

Comments

@masbog
Copy link

masbog commented Feb 13, 2018

MacBook-Pro:graphql-doc masbog$ yarn build
yarn run v1.3.2
$ react-scripts build
Creating an optimized production build...
Failed to compile.

Module not found: Error: Can't resolve 'global/Store' in '/Users/xxx/GitHub/graphql-doc/src'

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

how to fix it? thanks

@StefanJanssen95
Copy link

Same issue here

@dhruv-kumar-jha
Copy link
Owner

.env file was missing as it was ignored in .gitignore,

Removing it from .gitignore and adding the .env file fixed the issue.

@masbog
Copy link
Author

masbog commented Feb 16, 2018

thank you @dhruv-kumar-jha

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