unexpeced end of JSON input while parsing near '...me/-/babel-runtime-6.'


(Jason Sikes) #1

I’m new to npm and wanted to try playing with react native app
Here is what I did to get the error:
npm install -g create-react-native-app
while it was trying to install npm through this error
npm ERR! Unexpected end of JSON input while parsing near ‘…me/-/babel-runtime-6.’
npm ERR! C:…\AppData\Roaming\npm-cache_logs\2018-10-03T17_20_33_169Z-debug.log

I am new and I do not know how to pull my err logs yet (If I am able to.?)
Anyway. I did not know if someone could shine some light my way to maybe help me out?
Thanks


(Lars Willighagen) #2

You can find the error logs in the file mentioned in the error: C:…\AppData\Roaming\npm-cache_logs\2018-10-03T17_20_33_169Z-debug.log.


(Jason Sikes) #3

Thanks larsgw
I ended up npm cach clean --force
then retried install and it worked.
Thank you for your time for trying to help.


(system) #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.