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

yo react-gen error #6

Closed
zanjs opened this issue Jun 12, 2016 · 2 comments
Closed

yo react-gen error #6

zanjs opened this issue Jun 12, 2016 · 2 comments

Comments

@zanjs
Copy link

zanjs commented Jun 12, 2016

➜  reactjs yo react-gen

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |   Welcome to the gnarly  |
   `---------´   |    generator-react-gen   |
    ( _´U`_ )    |        generator!        |
    /___A___\    '--------------------------'
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

? App name react-gen
? Author name Julian
? Author email zanjser@163.com

events.js:160
      throw er; // Unhandled 'error' event
      ^
AssertionError: Trying to copy from a source that does not exist: /Users/julaud/.nvm/versions/node/v6.2.0/lib/node_modules/generator-react-gen/generators/app/templates/.env
    at EditionInterface.exports._copySingle (/Users/julaud/.nvm/versions/node/v6.2.0/lib/node_modules/generator-react-gen/node_modules/mem-fs-editor/lib/actions/copy.js:45:3)
    at EditionInterface.exports.copy (/Users/julaud/.nvm/versions/node/v6.2.0/lib/node_modules/generator-react-gen/node_modules/mem-fs-editor/lib/actions/copy.js:23:17)
    at EditionInterface.module.exports [as copyTpl] (/Users/julaud/.nvm/versions/node/v6.2.0/lib/node_modules/generator-react-gen/node_modules/mem-fs-editor/lib/actions/copy-tpl.js:10:8)
    at tplCopy (/Users/julaud/.nvm/versions/node/v6.2.0/lib/node_modules/generator-react-gen/generators/app/index.js:7:11)
    at files.forEach.filename (/Users/julaud/.nvm/versions/node/v6.2.0/lib/node_modules/generator-react-gen/generators/app/index.js:17:5)
    at Array.forEach (native)
    at fileListCopy (/%   
@alvarosaavedra
Copy link

#1 check this solution worked for me

@auser
Copy link
Contributor

auser commented Jun 13, 2016

Latest push fixes this bug.

@auser auser closed this as completed Jun 13, 2016
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