Emulators will not launch on Windows due to import issue
DLehenbauer opened this issue · 1 comments
DLehenbauer commented
I just tried '5.1.3' and am seeing "TypeError: d is not a function" at 214.js:66973.
The missing function 'd' is the minified call to the 'which' NPM module that I recently added as a new dependency in change #92:
static async _which(e) {
// ... skipping 'canAccess' check ...
var t;
try {
return await d(e) // <--- Call to 'which' NPM package
}
catch(t) {
return new Promise(((s, i)=> {
l.first([e], (e=>e?s(e): i(t)))
}
))
}
}
I don't believe there's a regression vs. 5.1.2, as Linux continues to pass the earlier 'canAccess()' check and Windows was previous blocked by the '.exe' suffix issue.
DLehenbauer commented
Appears to be a simple case of an incorrect import. Sorry about missing this when testing the original PR. I suspect I either failed to 'docker cp' the updated .vsix out of the docker container, or still had the emulator in my path and was falling back to 'hasbin'.