Closed anonyein closed 6 months ago
Can you provide the complete output? Based on the limited information, I guess it's related to the installation of isolated-vm.
Can you provide the complete output? Based on the limited information, I guess it's related to the installation of isolated-vm.
Error: Cannot find module './out/isolated_vm'
Require stack:
- D:\Download\decode-js-main\decode-js-main\node_modules\isolated-vm\isolated-vm.js
- D:\Download\decode-js-main\decode-js-main\src\plugin\sojson.js
- D:\Download\decode-js-main\decode-js-main\src\main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (D:\Download\decode-js-main\decode-js-main\node_modules\isolated-vm\isolated-vm.js:1:18)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Module.require (node:internal/modules/cjs/loader:1231:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\Download\\decode-js-main\\decode-js-main\\node_modules\\isolated-vm\\isolated-vm.js',
'D:\\Download\\decode-js-main\\decode-js-main\\src\\plugin\\sojson.js',
'D:\\Download\\decode-js-main\\decode-js-main\\src\\main.js'
]
}
According to the error message, the file isolated-vm.node should exist in folder D:\Download\decode-js-main\decode-js-main\node_modules\isolated-vm\out
. Try to reinstall the dependency and the issue may be solved.
According to the error message, the file isolated-vm.node should exist in folder
D:\Download\decode-js-main\decode-js-main\node_modules\isolated-vm\out
. Try to reinstall the dependency and the issue may be solved.
The "out" directory doesn't exist. The module must be built? I have only tried "npm i isolated-vm", but no "out" directory
Yes, it's required in D:\Download\decode-js-main\decode-js-main\node_modules\isolated-vm\isolated-vm.js
. You may find solution in repo: https://github.com/laverdet/isolated-vm .
Yes, it's required in
D:\Download\decode-js-main\decode-js-main\node_modules\isolated-vm\isolated-vm.js
. You may find solution in repo: https://github.com/laverdet/isolated-vm .
VS2019 must be installed on Win
after npm -i npm run decode -- -t sojsonv7 -i input.js -o output.js Error: Cannot find module './out/isolated_vm'