0
I’m having trouble with an Ode application. When I try to install packages, dependencies generate an error when I try to install express. follows the error:
npm ERR! Unexpected end of JSON input
npm ERR! A complete log of this run can be found in: npm ERR!
C: Users Development Appdata Roaming npm-cache_logs 2018-03-28T14_41_03_239Z-debug.log
Someone’s been there, they could help me?
Unexpected end of JSON input
is an error that occurs when trying to parse a poorly formed JSON, most likely this is not an error with express. Check your package.json, it may not be correct.– Renato Gama
Thanks Renato Gama, I managed to solve the problem, there was a syntax problem in my package, thanks for the help!
– Esley Silva Marzin
Probably your package.json has some syntax error. Make sure everything is all right in it, and just in case remove the folder from node_modules.
– wesley amaral
checks package.json, this error indicates that it has formatting error there
– Matheus Lima