TikTokWeb
TikTokWeb copied to clipboard
npm start的时候出错
执行npm start后错误提示如下:
$ npm start
[email protected] start nodemon ./bin/www
[nodemon] 2.0.15
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node ./bin/www
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'http-errors' Require stack:
- E:\TikTokDownload-main\TikTokWeb\app.js
- E:\TikTokDownload-main\TikTokWeb\bin\www
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.
(E:\TikTokDownload-main\TikTokWeb\app.js:1:19) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'E:\TikTokDownload-main\TikTokWeb\app.js', 'E:\TikTokDownload-main\TikTokWeb\bin\www' ] } [nodemon] app crashed - waiting for file changes before starting...