-
Notifications
You must be signed in to change notification settings - Fork 6
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
error when run sun-photon init #2
Comments
by the way, when I install sun-photon, it gets some errors. My OS is windows10 C:\Users\Admin>npm install -g sun-photon
C:\Users\Admin\AppData\Roaming\npm\node_modules\sun-photon\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) npm ERR! A complete log of this run can be found in:
C:\Users\Admin\AppData\Roaming\npm\node_modules\sun-photon\node_modules\websocket>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! 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 -) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\sun-photon\node_modules\fsevents):
|
Can you check your network for the downloading process. Seems it is a network issue. And the second problem seems due to python installation problem. Please install python first. |
Ok. Can you provide the nodejs, npm,and python version that you are using? thanks |
👍 |
when I run sun-photon init, it shows:
Downloading...
Error: Error making request to https://raw.githubusercontent.com/tronprotocol/sun-photon/bare-box/sun-photon.js. Got error: read ECONNRESET. Please check the format of the requested resource.
at Request.callback (C:\Users\Admin\AppData\Roaming\npm\node_modules\sun-photon\build\components\Box\lib\utils\unbox.js:1:999)
at self.callback (C:\Users\Admin\AppData\Roaming\npm\node_modules\sun-photon\node_modules\request\request.js:185:22)
at Request.emit (events.js:210:5)
at Request.onRequestError (C:\Users\Admin\AppData\Roaming\npm\node_modules\sun-photon\node_modules\request\request.js:881:8)
at ClientRequest.emit (events.js:210:5)
at TLSSocket.socketErrorListener (http_client.js:406:9)
at TLSSocket.emit (events.js:210:5)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
how to fix that?
thanks
The text was updated successfully, but these errors were encountered: