-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install doesn't seem to work on Windows #307
Comments
Could you go to |
Looks similar I think
I checked that "yo" is on PATH and I can execute it in the same terminal. I wonder why it would do a ENOENT. Is the environment being overridden somehow along the way? Hmm |
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
It looks similar I think.
|
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
@MarkZ3 Could you try again? :) |
It gets further now! Then it outputs this error:
|
@MarkZ3 it seems that yo tries to write to |
@akosyakov No it's not read-only. Perhaps the file handle is still opened on insight-yo.json.3289871766 ? |
@MarkZ3 Could you try to add |
Same result. But looking at the yo/cli.js code, the insight object gets instantiated regardless of the --no-insight
What's more odd about the error is that the file does end up being renamed because I can see the insight-yo.json in folder. Or maybe it fails because it tries to rename to something that already exists??
|
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
Looks like we hit this issue with running yo in parallel for different folders on windows: yeoman/yo#459 And it seems to be fixed already, could you try to update npm to 4.6.1? |
Unfortunately, I get the same error with 4.6.1. |
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
I tried again, now it gets much further! But it hangs forever at
It looks like lerna/lerna#582 |
I does finish the second time I execute "yarn". Odd! But the next step for Electron has an error. $ yarn run rebuild:electron |
Since the command doesn't exist, use "shx" to replace it. shx is a wrapper around ShellJS which is "Portable Unix shell commands for Node.js" Signed-off-by: Marc-André Laperle <marc-andre.laperle@ericsson.com>
Since the command doesn't exist, use "shx" to replace it. shx is a wrapper around ShellJS which is "Portable Unix shell commands for Node.js" Signed-off-by: Marc-André Laperle <marc-andre.laperle@ericsson.com>
Using latest master
node v7.10.0
npm v4.2.0
Windows 8.1
Then when I try to go to examples/electron:
The text was updated successfully, but these errors were encountered: