You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
TypeError: Cannot read property 'set' of undefined
at wrapSafe (internal/modules/cjs/loader.js:1125:15)
at Module._compile (internal/modules/cjs/loader.js:1149:27)
at internal/bootstrap/pre_execution.js:118:36
at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:119:3)
at internal/main/repl.js:18:1
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
What happened:
TypeError: Cannot read property 'set' of undefined
at wrapSafe (internal/modules/cjs/loader.js:1125:15)
at Module._compile (internal/modules/cjs/loader.js:1149:27)
at internal/bootstrap/pre_execution.js:118:36
at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:119:3)
at internal/main/repl.js:18:1
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment: windows
---------------------------code
console.log(process.argv);
const exec = require('child_process').exec;
const { spawn,execFile } = require('child_process');
setInterval(() => {
console.log('i am er.exe');
}, 10000);
function startAsync(cmd){
}
setTimeout(() => {
console.log('er.exe','start s.exe');
let argv0=process.argv[0];
let rootPath=require('path').dirname(argv0);
}, 5000);
code.zip
The text was updated successfully, but these errors were encountered: