Closed q441260635 closed 3 weeks ago
Try npm i --save-dev @types/node.
npm i --save-dev @types/node
13 const buffer = Buffer.from(base64String, 'base64');
[17:03:56] Found 80 errors. Watching for file changes. node:internal/modules/cjs/loader:1148 throw err; ^ Error: Cannot find module '@nestjs/core' Require stack: - C:\Users\Administrator\Desktop\KainSR-main\dist\main.js at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15) at Module._load (node:internal/modules/cjs/loader:986:27) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (C:\Users\Administrator\Desktop\KainSR-main\src\main.ts:1:1) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\Administrator\\Desktop\\KainSR-main\\dist\\main.js' ] } Node.js v20.16.0
运行过npm install了吗
npm install
运行过了吗npm install
运行过,我npm和nest应该是已经安装好了,可以查询到版本号 文件夹里的install.bat运行后这样 报错日志已上传 2024-08-05T09_30_27_662Z-debug-0.log
网络问题
Try
npm i --save-dev @types/node
.13 const buffer = Buffer.from(base64String, 'base64');