修复“未找到模块”问题

js4nwp54  于 2021-09-23  发布在  Java
关注(0)|答案(0)|浏览(209)

我一直在尝试将客户端和服务器设置为javascript,但出现了一个错误,错误如下所示


**error:

  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at new require (internal/modules/cjs/helpers.js:92:18)
    at Server.<anonymous> (C:\Users\x\WebstormProjects\MMORPGProj1\server.js:30:18)
    at Server.emit (events.js:375:28)
    at TCP.onconnection (net.js:1562:8) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'C:\\Users\\x\\WebstormProjects\\MMORPGProj1\\server.js' ]
}

Process finished with exit code 1**

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题