无法运行npm start:无法GET /

时间:2020-09-16 09:11:35

标签: twitter-bootstrap npm

当我尝试使用“ npm start”运行网站时,它仅显示以下内容:无法获取/。

这是我的package.json文件:

{
  "name": "assignment1",
  "version": "1.0.0",
  "description": "This is a website for Ristorante Con Fusion",
  "main": "aboutus.html",
  "scripts": {
    "start": "npm run lite",
    "test": "echo \"Error: no test specified\" && exit 1",
    "lite": "lite-server"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "lite-server": "^2.5.4"
  },
  "dependencies": {
    "bootstrap": "^4.3.1",
    "jquery": "^3.3.1",
    "popper.js": "^1.14.7"
  }
}

0 个答案:

没有答案