Cannot find module './http-exception'
来源:5-1 Lin-Validator使用指南

zac707
2019-09-22
Debugger listening on ws://127.0.0.1:44109/063b71c9-f1bf-4794-bb2f-a67455e1d043
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
internal/modules/cjs/loader.js:584
throw err;
^
Error: Cannot find module './http-exception’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (g:\nodejsproject\islandtest\core\lin-validator.js:10:5)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
1回答
-
7七月
2019-09-23
仔细检查路径,以及模块是否导出
00
相似问题