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

Missing /usr/local/lib/node_modules/generator-react-gen/generators/app/templates/.env #1

Open
tonylyjones opened this issue Jun 13, 2016 · 0 comments

Comments

@tonylyjones
Copy link

Hi,

I tried to follow the react tutorial but got this error after setting the email address

events.js:160
      throw er; // Unhandled 'error' event
      ^
AssertionError: Trying to copy from a source that does not exist: /usr/local/lib/node_modules/generator-react-gen/generators/app/templates/.env
    at EditionInterface.exports._copySingle (/usr/local/lib/node_modules/generator-react-gen/node_modules/mem-fs-editor/lib/actions/copy.js:45:3)
    at EditionInterface.exports.copy (/usr/local/lib/node_modules/generator-react-gen/node_modules/mem-fs-editor/lib/actions/copy.js:23:17)
    at EditionInterface.module.exports [as copyTpl] (/usr/local/lib/node_modules/generator-react-gen/node_modules/mem-fs-editor/lib/actions/copy-tpl.js:10:8)
    at tplCopy (/usr/local/lib/node_modules/generator-react-gen/generators/app/index.js:7:11)
    at files.forEach.filename (/usr/local/lib/node_modules/generator-react-gen/generators/app/index.js:17:5)
    at Array.forEach (native)
    at fileListCopy (/usr/local/lib/node_modules/generator-react-gen/generators/app/index.js:16:9)
    at module.exports.yeoman.Base.extend.writing (/usr/local/lib/node_modules/generator-react-gen/generators/app/index.js:134:5)
    at Object.<anonymous> (/usr/local/lib/node_modules/generator-react-gen/node_modules/yeoman-generator/lib/base.js:431:23)
    at /usr/local/lib/node_modules/generator-react-gen/node_modules/run-async/index.js:26:25

When I check the templates directory

$ ls -a /usr/local/lib/node_modules/generator-react-gen/generators/app/templates/
.           .npmignore      package.json        webpack.config.js
..          features        src
.babelrc        karma.conf.js       tests.webpack.js
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

1 participant