Skip to content

Problems downloading electron #180

@thanpolas

Description

@thanpolas

Hello, just installed 2.8.3 and trying to create a build...

When i run npm run pack I get this error:

[19:08:54] $ npm run pack

> Reveal@6.0.0-alpha.1 pack /Users/thanpolas/Projects/work/insightReplay/reveal-electron
> build

Skipping app dependencies installation because dev and app dependencies are not separated
Downloading electron-v.36.7-darwin-x64.zip
Error: GET https://github.com/atom/electron/releases/download/v.36.7/electron-v.36.7-darwin-x64.zip returned 404
Error: Compound error:

Error #1 --------------------------------------------------------------------------------
undefined

Error #2 --------------------------------------------------------------------------------
TypeError: A value null was yielded that could not be treated as a promise

    See http://goo.gl/MqrFmX

From coroutine:
    at Function.Promise.coroutine (/Users/thanpolas/Projects/work/insightReplay/reveal-electron/node_modules/electron-builder/node_modules/bluebird/js/release/generators.js:175:17)
    at tsAwaiter (/Users/thanpolas/Projects/work/insightReplay/reveal-electron/node_modules/electron-builder/src/awaiter.ts:4:35)

As you can notice it tries to download:

https://github.com/atom/electron/releases/download/v.36.7/electron-v.36.7-darwin-x64.zip

when it should be downloading:

https://github.com/atom/electron/releases/download/v0.36.7/electron-v0.36.7-darwin-x64.zip

Another issue I have is with the "postinstall": "install-app-deps", script... it fails after npm install, when i run it directly from node_modules/.bin/install-app-deps i get:

Installing app dependencies for arch x64 to /Users/thanpolas/Projects/work/insightReplay/reveal-electron/app
Error: spawn npm ENOENT
    at exports._errnoException (util.js:856:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:452:9)
    at process._tickCallback (node.js:366:17)

I use nvm

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions