Skip to content

create-react-app failed #2616

Closed
Closed
@forsakesoul

Description

@forsakesoul

Aborting installation.
npm install --save --save-exact react react-dom react-scripts has failed.
A complete log of this run
Log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli '--save-exact',
1 verbose cli 'react',
1 verbose cli 'react-dom',
1 verbose cli 'react-scripts' ]
2 info using [email protected]
3 info using [email protected]
4 silly install loadCurrentTree
5 silly install readLocalPackageData
6 http fetch GET 304 https://registry.npmjs.org/react-dom 561ms (from cache)
7 silly pacote tag manifest for react-dom@latest fetched in 566ms
8 http fetch GET 304 https://registry.npmjs.org/react 739ms (from cache)
9 silly pacote tag manifest for react@latest fetched in 774ms
10 http fetch GET 304 https://registry.npmjs.org/react-scripts 834ms (from cache)
11 silly fetchPackageMetaData error for react-scripts@latest Unexpected end of input at 1:33645
11 silly fetchPackageMetaData e-react-app/blob/master/CHANGELOG.md","_hasShrinkwrap":false},"0.4.3-
11 silly fetchPackageMetaData ^
12 verbose stack SyntaxError: Unexpected end of input at 1:33645
12 verbose stack e-react-app/blob/master/CHANGELOG.md","_hasShrinkwrap":false},"0.4.3-
12 verbose stack ^
12 verbose stack at Object.parseJSON (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/node_modules/json-parse-helpfulerror/node_modules/jju/lib/parse.js:745:13)
12 verbose stack at parse (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/node_modules/json-parse-helpfulerror/index.js:10:13)
12 verbose stack at consumeBody.call.then.buffer (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/body.js:96:50)
12 verbose stack at
12 verbose stack at process._tickCallback (internal/process/next_tick.js:169:7)
13 verbose cwd /Users/liufucheng/Desktop/app-react-01
14 verbose Darwin 16.6.0
15 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "--save-exact" "react" "react-dom" "react-scripts"
16 verbose node v8.0.0
17 verbose npm v5.0.0
18 error Unexpected end of input at 1:33645
18 error e-react-app/blob/master/CHANGELOG.md","_hasShrinkwrap":false},"0.4.3-
18 error ^
19 verbose exit [ 1, true ]
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions