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,error #330
Comments
The operating system is manjaro linux |
I am waiting for |
Same with issue #328 Set the environment variables |
I think using version 6 is the only solution.
|
https://electronjs.org/docs/tutorial/installation
In old version, the |
So how this can be compiled. First impressions to electron are not so good if the first copy-paste example is not working out from the box. |
@ahojukka5 did you try it yourself? the above issue is specific to those needing a Chinese mirror for firewall issues Electron cannot control. You should not need that workaround. |
Yes, I tried myself. |
Same issue here. Not in china. Arm6 32bit. |
Changing electron version to 6.0.0 in |
I referred to zeroyls's method and i got it。But i am in china。maybe you can find a mirror and do it。Or,you can download the mirror:https://github.com/electron/electron/releases/download/v7.1.5/electron-v7.1.5-darwin-x64.zip |
I guess he does not need a mmirror since he is not in China. maybe npm
just does not have a version 6 in Arm6 32bit platform. I don't know
how electron version system goes but maybe there is a version 5 or
version 4 works in this situation?
2019-12-18 1:08 GMT+08:00, Hugh Zhang <notifications@github.com>:
…> Same issue here. Not in china. Arm6 32bit.
> npm cannot find a binary for version 6 on arm. No versions of 7 work for
> me
I referred to zeroyls's method and i got it。But i am in china。maybe you can
find a mirror and do it。Or,you can download the
mirror:https://github.com/electron/electron/releases/download/v7.1.5/electron-v7.1.5-darwin-x64.zip
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#330 (comment)
|
Скачайте Outlook для Android<https://aka.ms/ghei36>
________________________________
From: zlrs <notifications@github.com>
Sent: Wednesday, December 18, 2019 9:03:01 AM
To: electron/electron-quick-start <electron-quick-start@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [electron/electron-quick-start] npm install,error (#330)
I guess he does not need a mmirror since he is not in China. maybe npm
just does not have a version 6 in Arm6 32bit platform. I don't know
how electron version system goes but maybe there is a version 5 or
version 4 works in this situation?
2019-12-18 1:08 GMT+08:00, Hugh Zhang <notifications@github.com>:
> Same issue here. Not in china. Arm6 32bit.
> npm cannot find a binary for version 6 on arm. No versions of 7 work for
> me
I referred to zeroyls's method and i got it。But i am in china。maybe you can
find a mirror and do it。Or,you can download the
mirror:https://github.com/electron/electron/releases/download/v7.1.5/electron-v7.1.5-darwin-x64.zip
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#330 (comment)
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#330?email_source=notifications&email_token=AJAAMW7BHW5MURIU4MYUISDQZGOHLA5CNFSM4JI7MHZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHEY7OA#issuecomment-566857656>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJAAMW6OSHV3432GR3IK37LQZGOHLANCNFSM4JI7MHZQ>.
|
Same with issue #328 Electron 6.0.0 version is OK "devDependencies": { |
That problem is not related to Chinese mirror or firewall, it's about electron-download's internal url compose logic. |
$cnpm intall The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) [1/2] scripts.postinstall electron@8.0.1 › @electron/get@1.7.6 › global-agent@2.1.8 › core-js@^3.6.4 finished in 134ms use" npm start" can't start project |
The simplest way I found to fix this problem (for me) was to set the following environment variable This is documented in electron/get, but it's not exactly obvious/intuitive as I had http/https_proxy set in my environment but it did not use them. |
The only electron major version that seem to work for me is
|
This is indeed a network issue.I solved this problem by turning off the VPN and switching the network environment. |
After use install cnpm and then run |
Closing this issue based on the previous two comments saying that it's a network issue and the solution is to use workarounds of changing the network environment or using a tool that fetches from another source. |
I use
npm install
, it stops atnode install.js
Later I used
cnpm
, although the installation was successful, but there are many errors,npm start
can not be usedThe text was updated successfully, but these errors were encountered: