proton-native: NPM install fails on Windows 10, Node 10

λ 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

About this issue

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

Commits related to this issue

Most upvoted comments

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

@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!

you are right!, let me update that

I updated the readme on create-proton-app stating the required dep for windows.

@jakubtuchol did installing windows-build-tools worked for you?