问题描述
npm 错误!在 '...pes/node":"^12.6.9","'
npm ERR! Unexpected end of JSON input while parsing near '...pes/node":"^12.6.9","'
npm 错误!可以在以下位置找到此运行的完整日志:
npm ERR! A complete log of this run can be found in:
npm 错误!C:\Users\Dubey\AppData\Roaming\npm-cache_logs\2020-05-30T08_45_02_091Z-debug.log
npm ERR! C:\Users\Dubey\AppData\Roaming\npm-cache_logs\2020-05-30T08_45_02_091Z-debug.log
请帮助我克服这个错误.
Please help me to get over this error.
推荐答案
"Unexpected end of JSON input while parsing near " 发生在语法错误的 package.json
.
"Unexpected end of JSON input while parsing near" happens when you have a syntactically wrong package.json
.
尝试复制粘贴您的 package.json
文件(所有文件)此处.
Try to copy paste your package.json
file (all the file) here.
如果您的文件有任何错误,此工具将报告任何错误.
This tool will report any errors with your file if you have any.
这篇关于我面临的问题是通过 npm install webpack 安装 webpack 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!