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

exp installation error: Unexpected end of JSON input #1992

Closed
gustavovaliati opened this issue Jul 15, 2018 · 1 comment
Closed

exp installation error: Unexpected end of JSON input #1992

gustavovaliati opened this issue Jul 15, 2018 · 1 comment

Comments

@gustavovaliati
Copy link

Hello!

I have been unable to install exp on my machine due to an error while running the npm install command.

Error:

$ sudo npm install -g exp
npm ERR! Unexpected end of JSON input while parsing near '...","istanbul":"0.3.22"'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/$USER/.npm/_logs/2018-07-15T14_40_56_204Z-debug.log

Machine:

  • Ubuntu 16.04
  • Nodejs: v8.11.3
  • NPM: 5.6.0

Ps:

  • Creating a project with 'create-react-native-app' does fine. I can work with expo.io from it.
  • I have tried to rollback one exp version by sudo npm install -g exp@55.0.4 but got the same error.
  • Before opening an issue here I have looked up for a solution in: forums.expo.io/ ; github.com/expo/expo/issues/

Thank you very much.

@gustavovaliati
Copy link
Author

Solved with:
npm cache clean --force
and
npm audit fix --force

@lock lock bot added the outdated label Jun 14, 2019
@lock lock bot locked and limited conversation to collaborators Jun 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant