durs / node-activex

Node.JS Implementaion of ActiveXObject
MIT License
329 stars 62 forks source link

electron4.0.0 can't find the module #56

Closed xineur closed 3 years ago

xineur commented 5 years ago
This relative module was not found:

* ./build/Release/node_activex in ./node_modules/winax/activex.js
 ERROR  Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! signture-cliens@0.1.0 serve: `vue-cli-service electron:serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the signture-cliens@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

image I don't know if I'm missing modules

// package.json
"scripts": {
    "rebuild:gyp": "cd ./node_modules/winax && node-gyp rebuild --runtime=electron --arch=ia32 --target=4.0.0 --dist-url=https://npm.taobao.org/mirrors/atom-shell"
  },
  "main": "background.js",
  "dependencies": {
    "winax": "1.0.17"
  },
  "devDependencies": {
    "electron": "^4.0.0",
    "typescript": "~3.5.3"
  },

node-gyp v6.0.0 npm v6.4.1 node v8.12.0-x86

xineur commented 5 years ago

msvs_version = "2017"