Skip to content

Error with installation custom-react-scripts #20

Closed
@badenkov

Description

@badenkov

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!

Activity

PKief

PKief commented on Oct 5, 2016

@PKief

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

seanrasmussen

seanrasmussen commented on Oct 5, 2016

@seanrasmussen

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

jbach commented on Oct 5, 2016

@jbach

This is a duplicate of #13.

kitze

kitze commented on Oct 6, 2016

@kitze
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jbach@badenkov@kitze@seanrasmussen@PKief

        Issue actions

          Error with installation custom-react-scripts · Issue #20 · kitze/custom-react-scripts