-
Notifications
You must be signed in to change notification settings - Fork 127
Install fails because module 'is-property' isn't installed #40
Comments
This happened to me on two different Windows machines. |
@frankhale thanks for the bug report. This is super weird behavior. @mafintosh have you ever seen this before? |
👍 This is happening to me too. |
As a work-around you can just install is-property globlally and then it will work:
|
+1 @justinmchase tip worked |
what version of npm are you using? this should never happen as is-property is a dependency of generate-object-property (which is throwing this error) |
Not sure exact version of npm but I was using iojs 2.2.1 at the time. |
Actually it's in the log message posted above:
|
Same with me, io.js installed with chocolatey on Windows 10 |
@frankhale @gcoupelant this seems to be an npm issue. is this reproducible on subsequent installs? |
I'll see if I can reproduce it using iojs 2.3.0 as soon as I have time today. |
Same with me in Win 7 - 64 bit, and iojs 2.2.1. |
Experiencing same issue:
|
I think this is a windows specific issue because we are using too many modules and windows paths have a hard limit on length. I'll look into a fix |
@maxogden you're right, seems to be io.js bug, which was introduced in v2.2.0 (nodejs/node#1801) and fixed in v2.3.1 (nodejs/node@a4f4909). If you use any version of io.js in-between 2.2.0 and 2.3.0 inclusive, it fails to load any module that has path length greater than 259 characters in those versions. |
Thanks @v12 for this information! I removed electron-prebuilt, removed is-property, installed iojs 2.3.1 and then reinstalled electron-prebuilt and it installed without issue. |
I'm using node v4.0.0. I still have this problem on my Windows. |
@snowcxt, try installing the is-property module and then install electron-prebuilt and see if that works. |
I tried that. Didn't work for me. BTW I only get this error when I use Request |
@snowcxt You tried to install it globally? Like this: #40 (comment) |
You mean |
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.
The text was updated successfully, but these errors were encountered: