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

When updating to node 8, npm i got error #14451

Closed
zphhhhh opened this issue Jun 11, 2017 · 1 comment
Closed

When updating to node 8, npm i got error #14451

zphhhhh opened this issue Jun 11, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@zphhhhh
Copy link

zphhhhh commented Jun 11, 2017

Description

After updating to node.js 8.1.0, the npm i got the error that Unexpected end of input at 1:26309

Reproduction Steps and Sample Code

> react-native init app4
...
> cd app4
> npm i
npm ERR! Unexpected end of input at 1:26309
npm ERR! es":{"JSON-Schema-Test-Suite":"git+ssh://git@github.com/json-schema/J
npm ERR!                                                                      ^

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\cn_pa\AppData\Roaming\npm-cache\_logs\2017-06-11T01_48_16_773Z-debug.log

Solution

Additional Information

  • React Native version: 0.45.1
  • Platform: test on Android
  • Development Operating System: Windows
  • Dev tools:
  • Node.js version: 8.1.0
  • npm version: 5.0.3
@zphhhhh
Copy link
Author

zphhhhh commented Jun 11, 2017

This helps me:

npm cache clean --force

@zphhhhh zphhhhh closed this as completed Jun 11, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jun 11, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants