Skip to content

Error with installation custom-react-scripts #20

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

Closed
badenkov opened this issue Oct 5, 2016 · 4 comments
Closed

Error with installation custom-react-scripts #20

badenkov opened this issue Oct 5, 2016 · 4 comments

Comments

@badenkov
Copy link

badenkov commented Oct 5, 2016

Hello! I'm trying to use your fork. But everytime I've got an error when npm install dependencies:

npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/user/.nvm/versions/node/v6.6.0/bin/node" "/Users/user/.nvm/versions/node/v6.6.0/bin/npm" "install"
npm ERR! node v6.6.0
npm ERR! npm  v3.10.8

npm ERR! Path must be a string. Received undefined
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/user/Projects/lim/front/npm-debug.log

I've tried two ways:
At first I've created app from scratch:

create-react-app my-app --scripts-version custom-react-scripts

At second times I've done

create-react-app my-app

and then change devDependencies

from

"react-scripts": "0.6.0"

to

"custom-react-scripts": "0.0.14"

And everytime I've got same error.
I have

  • node v6.6.6
  • npm v3.10.8

Thanks and best wishes!

@PKief
Copy link

PKief commented Oct 5, 2016

Hi, I've got the same error on Windows 7
node v6.7.0
npm v3.10.3

@seanrasmussen
Copy link

I also can't seem to get it working on Windows 7:

`Installing packages. This might take a couple minutes.
Installing react-scripts from npm...

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Sea
oaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--save-
exact" "custom-react-scripts"
npm ERR! node v4.4.7
npm ERR! npm v3.10.8

npm ERR! Path must be a string. Received undefined
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request
npm ERR! C:\Users\Sean\Documents\Code\CustomReact\my-app\npm-de
npm install --save-dev --save-exact custom-react-scripts failed`

@jbach
Copy link

jbach commented Oct 5, 2016

This is a duplicate of #13.

@kitze
Copy link
Owner

kitze commented Oct 6, 2016

Closing this one because it's a duplicate. Let's continue the discussion here.

@kitze kitze closed this as completed Oct 6, 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

5 participants