package.json it resets every time I try to do pnp install

不羁岁月 提交于 2021-02-11 14:13:56

问题


I'm trying to host my discord bot done in python using AWS. When I do nvm install it gives me this following warn:

npm WARN saveError ENOENT: no such file or directory, open '/home/ubuntu/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/ubuntu/package.json'
npm WARN ubuntu No description
npm WARN ubuntu No repository field.
npm WARN ubuntu No README data
npm WARN ubuntu No license field.

This is my package.json:

{
  "lockfileVersion": 1,
  "name": "lol",
  "version": "1.0.0",
  "description": "pene",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: No test specified\" && exit 1"
  },
  "author": "peppewarrior1",
  "license": "ISC",
}

why are you doing this to me? Where did I go wrong? I am brand new and have been searching both yesterday and today but I can't solve my problem and I delete the package. I'm following this video tutorial but he uses java while I use python I don't know how ...

来源:https://stackoverflow.com/questions/63600251/package-json-it-resets-every-time-i-try-to-do-pnp-install

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!