小编Leo*_*gel的帖子

嗨,我在这里遇到这个错误错误:找不到模块“调试”

也许我删除了一些东西,package.json但我又写了一遍(我没有卸载)我得到了这个错误:

Error: Cannot find module 'debug'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
    at Function.Module._load (internal/modules/cjs/loader.js:529:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (C:\Users\Leo\fase2\node_modules\nodemon\lib\nodemon.js:1:75)
    at Module._compile (internal/modules/cjs/loader.js:722:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
error Command failed with exit code 1.
Run Code Online (Sandbox Code Playgroud)

我搞不清楚了!!是什么导致了问题?

node.js

11
推荐指数
1
解决办法
4979
查看次数

标签 统计

node.js ×1