-
Notifications
You must be signed in to change notification settings - Fork 0
Open
@tonylyjones
Description
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
Metadata
Metadata
Assignees
Labels
No labels