microsoft / onnxruntime-web-demo

demos to show the capabilities of ONNX Runtime Web
MIT License
172 stars 41 forks source link

Failed to run `npm run electron` #3

Closed huningxin closed 3 years ago

huningxin commented 3 years ago

Run npm run electron throws error on Windows. The error is reported "Windows Script Host" as

image

It looks like the "Windows Script Host" would like to run electron.js.

Renaming electron.js to other, e.g. main.js, fixes this issue.

In electron.js, the WEB_FOLDER should be docs instead of dist.