michaelcheng924 / react-redux-fullstack-starter

Starter Kit for React + Redux + Node/Express + Webpack + SASS + Babel/ES6
57 stars 23 forks source link

`yo react-redux-fullstack` fails to copy any files to app directory #1

Open chrisbodhi opened 8 years ago

chrisbodhi commented 8 years ago

Node version v5.10.1 npm version 3.8.6 OS: OS X 10.11.3

Expected Behavior yo react-redux-fullstack will copy files to my working directory

Actual Behaivor yo react-redux-fullstack completes without adding any files to my working directory

Steps to Reproduce

  1. yo react-redux-fullstack in ~/app
  2. Observe welcome message & ASCII art.
  3. Observe error message:
npm WARN enoent ENOENT: no such file or directory, open '/Users/chris/app/package.json'
npm WARN app No description
npm WARN app No repository field.
npm WARN app No README data
npm WARN app No license field.

_note: empty node_modules directory added to ~/app, but nothing else._

Grandiz commented 8 years ago

same issue to me

dongwenxiao commented 8 years ago

same issue to me

marianpg commented 8 years ago

same issue to me; but there's a simple wordaround:

copy the files "package.json" and "webpack.prod.config.js" from the git-repository to the directory, where you run the command "yo react-redux-fullstack".

There still remains the following error-message during "installation": "ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory' ./app/components in ~/react-redux-fullstack". Don't know what's the meaning about this.

edit: oh, the whole "app" directory is missing... edit2: so I copied again the whole "app" directory from the repository to my project folder.

final edit: It seems we just need to clone the git repository, just like described in the first way of the "installation".

levi0913 commented 8 years ago

same issue to me; do not use the generator, use the second way: just git clone the resp ,and follow the guide is ok