-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
直接使用会报错,按照库也报错
PS D:\download> node .\xmind.cjs -f 路径省略
node:internal/modules/cjs/loader:1246
throw err;
^
Error: Cannot find module 'adm-zip-iconv'
Require stack:
- D:\download\xmind.cjs
at Function._resolveFilename (node:internal/modules/cjs/loader:1243:15)
at Function._load (node:internal/modules/cjs/loader:1068:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1329:12)
at require (node:internal/modules/helpers:136:16)
at Object.<anonymous> (D:\download\xmind.cjs:3:16)
at Module._compile (node:internal/modules/cjs/loader:1550:14)
at Object..js (node:internal/modules/cjs/loader:1702:10)
at Module.load (node:internal/modules/cjs/loader:1307:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'D:\\download\\xmind.cjs' ]
}
Node.js v23.2.0
PS D:\download> ^C
PS D:\download> npm install adm-zip-iconv
node:internal/modules/cjs/loader:1246
throw err;
^
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-prefix.js'
at Function._resolveFilename (node:internal/modules/cjs/loader:1243:15)
at Function._load (node:internal/modules/cjs/loader:1068:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels