matterfront icon indicating copy to clipboard operation
matterfront copied to clipboard

Build issue on Windows

Open aaronhagopian opened this issue 9 years ago • 4 comments

When trying to build I am getting the following error:

Downloading electron-v$npm_package_electronVersion-linux-ia32.zip Error: GET https://github.com/atom/electron/releases/download/v$npm_package_electronVersion/electron-v$npm_package_electronVersion-linux-ia32.zip returned 404 [ [Error: GET https://github.com/atom/electron/releases/download/v$npm_package_electronVersion/electron-v$npm_package_electronVersion-linux-ia32.zip returned 404] ] undefined

seems like the $npm_package_electronVersion variable is not getting set correctly, ideas?

Thanks

aaronhagopian avatar Dec 17 '15 19:12 aaronhagopian

Something with windows doesn't consume these the correct way. We're working on it for the full 1.3 release.

LongLiveCHIEF avatar Dec 30 '15 20:12 LongLiveCHIEF

Yeah, I have the same issue. It seems to have something to do with how cmd.exe/git bash/npm work together to layer environment variables.

That giant command-line should probably be split out into a shell script anyway...

geekytime avatar Dec 30 '15 21:12 geekytime

Ran into same issue, had to hardcode the $npm_package_electronVersion variable to "0.35.4" in package.json.

because of the value of variable: *"electronVersion": "0.35.4" * in the same file.

asadpiz avatar Feb 11 '16 16:02 asadpiz

FYI, a workaround is to edit the package.json file and under scripts -> build change $npm_package_productName and $npm_package_electronVersion to %npm_package_productName% and %npm_package_electronVersion%.

markspolakovs avatar Mar 24 '16 11:03 markspolakovs