This repository was archived by the owner on Oct 2, 2020. It is now read-only.
This repository was archived by the owner on Oct 2, 2020. It is now read-only.
Install fails because module 'is-property' isn't installed #40
Closed
Description
I think electron-prebuilt needs to include a dependency on module is-property because on my system it's bombing out and can't install because that module is missing. After I manually installed is-property electron-prebuilt installed correctly.
C:\Users\Frank\Desktop>npm install -g electron-prebuilt
C:\Users\Frank\AppData\Roaming\npm\electron -> C:\Users\Frank\AppData\Roaming\np
m\node_modules\electron-prebuilt\cli.js
> electron-prebuilt@0.27.3 postinstall C:\Users\Frank\AppData\Roaming\npm\node_m
odules\electron-prebuilt
> node install.js
module.js:334
throw err;
^
Error: Cannot find module 'is-property'
at Function.Module._resolveFilename (module.js:332:15)
at Function.Module._load (module.js:282:25)
at Module.require (module.js:361:17)
at require (module.js:380:17)
at Object.<anonymous> (C:\Users\Frank\AppData\Roaming\npm\node_modules\elect
ron-prebuilt\node_modules\electron-download\node_modules\nugget\node_modules\req
uest\node_modules\har-validator\node_modules\is-my-json-valid\node_modules\gener
ate-object-property\index.js:1:80)
at Module._compile (module.js:426:26)
at Object.Module._extensions..js (module.js:444:10)
at Module.load (module.js:351:32)
at Function.Module._load (module.js:306:12)
at Module.require (module.js:361:17)
at require (module.js:380:17)
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\iojs\\node.exe" "C:\\Program Files\\iojs\\node
_modules\\npm\\bin\\npm-cli.js" "install" "-g" "electron-prebuilt"
npm ERR! node v2.2.1
npm ERR! npm v2.11.0
npm ERR! code ELIFECYCLE
npm ERR! electron-prebuilt@0.27.3 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-prebuilt@0.27.3 postinstall script 'node install
.js'.
npm ERR! This is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Frank\Desktop\npm-debug.log
Metadata
Metadata
Assignees
Labels
No labels