question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NPM install fails on Windows 10, Node 10

See original GitHub issue
λ create-proton-app test-proton-app
Creating a new Proton Native app on C:\Users\matiq\home\sandbox\test-proton-app

Installing packages... This may take a few minutes.


An error ocurred:
 npm.cmd install --save --loglevel error proton-native has failed.

(node:17644) UnhandledPromiseRejectionWarning: Error: [object Object]
    at isOnline.then.then.then.catch (C:\Users\matiq\AppData\Roaming\npm\node_modules\create-proton-app\src\createApp.js:95:11)
    at process._tickCallback (internal/process/next_tick.js:178:7)
(node:17644) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:17644) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
λ node -v
v10.0.0
λ npm -v
5.6.0

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:24 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
kusti8commented, May 19, 2018

Closed due to inactivity. If the problem persists, create a new issue.

1reaction
jakubtucholcommented, May 3, 2018

@albe-rosado I didn’t have to install windows-build-tools, but I was able to verify that create-proton-app was able to work successfully. Thanks so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Npm install hangs and fails on windows 10 - Stack Overflow
My problem was that I have npm install on C:\ and my project (or git folder) in G:\. Moving my folder from G:\...
Read more >
How to fix 'npm does not support Node.js v14' error on ...
Uninstall node.js (Windows Add/Remove programs) · Manually delete the npm folder from your user profile (%APPDATA%/roaming/npm) · Install node.js ...
Read more >
Common errors | npm Docs
Windows : If you're on Windows and you have a broken installation, the easiest thing to do is to reinstall node from the...
Read more >
error installing with npm in windows 10 · Issue #398 - GitHub
This seems to be a problem with the version requirements for NodeJS recompiled binaries. The latest release does not have binaries for Windows...
Read more >
NodeJS - npm install errors on Windows - YouTube
NOTE: If you are using Windows 10, you will want to open an Administrator PowerShell (right-click and choose "Run as administrator").
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found