我制作了一个名为 server 的 js 文件,但是当我尝试运行 nodemon server 时 它显示以下错误:
[nodemon] Failed to parse config C:\Users\garga\OneDrive\Desktop\BACKDEV\package.json
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at C:\Users\garga\AppData\Roaming\npm\node_modules\nodemon\lib\config\load.js:208:23
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
我期待在我的文件上成功运行 nodemon 但它显示错误