You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi,
I tried to follow the react tutorial but got this error after setting the email address
When I check the templates directory
The text was updated successfully, but these errors were encountered: