![](/img/trans.png)
[英]angularjs TypeError: require(…) is not a function , nodejs run error
[英]How to run angularjs app on nodejs? Got error
我還在學習角度。 當我嘗試運行我的代碼時,我收到一條類似以下消息的錯誤:
> electron@4.0.7 postinstall C:\electron-quick-start\node_modules\electron
> node install.js
Downloading tmp-12340-0-electron-v4.0.7-win32-x64.zip
Error: read ECONNRESET
C:\electron-quick-start\node_modules\electron\install.js:49
throw err
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@4.0.7 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@4.0.7 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2019-03-12T07_35_01_086Z-debug.log
我該如何解決?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.