国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

javascript - npm install 報(bào)錯(cuò),求解

瀏覽:81日期:2023-09-15 18:08:39

問題描述

npm WARN prefer global node-gyp@3.6.0 should be installed with -g> node-sass@4.5.2 install D:githubVueBlognode_modulesnode-sass> node scripts/install.jsDownloading binary from https://github.com/sass/node-sass/releases/download/v4.5.2/win32-x64-48_binding.nodeCannot download 'https://github.com/sass/node-sass/releases/download/v4.5.2/win32-x64-48_binding.node':connect ETIMEDOUT 54.231.72.27:443Timed out whilst downloading the prebuilt binaryHint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g. export HTTP_PROXY=http://example.com:1234or configure npm proxy via npm config set proxy http://example.com:8080> node-sass@4.5.2 postinstall D:githubVueBlognode_modulesnode-sass> node scripts/build.jsBuilding: E:軟件node.jsnode.exe D:githubVueBlognode_modulesnode-gypbinnode-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=gyp info it worked if it ends with okgyp verb cli [ ’E:軟件node.jsnode.exe’,gyp verb cli ’D:githubVueBlognode_modulesnode-gypbinnode-gyp.js’,gyp verb cli ’rebuild’,gyp verb cli ’--verbose’,gyp verb cli ’--libsass_ext=’,gyp verb cli ’--libsass_cflags=’,gyp verb cli ’--libsass_ldflags=’,gyp verb cli ’--libsass_library=’ ]gyp info using node-gyp@3.6.0gyp info using node@6.9.4 | win32 | x64gyp verb command rebuild []gyp verb command clean []gyp verb clean removing 'build' directorygyp verb command configure []gyp verb check python checking for Python executable 'python2' in the PATHgyp verb `which` failed Error: not found: python2gyp verb `which` failed at getNotFoundError (D:githubVueBlognode_moduleswhichwhich.js:13:12)gyp verb `which` failed at F (D:githubVueBlognode_moduleswhichwhich.js:68:19)gyp verb `which` failed at E (D:githubVueBlognode_moduleswhichwhich.js:80:29)gyp verb `which` failed at D:githubVueBlognode_moduleswhichwhich.js:89:16gyp verb `which` failed at D:githubVueBlognode_modulesisexeindex.js:42:5gyp verb `which` failed at D:githubVueBlognode_modulesisexewindows.js:36:5gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15)gyp verb `which` failed python2 { Error: not found: python2gyp verb `which` failed at getNotFoundError (D:githubVueBlognode_moduleswhichwhich.js:13:12)gyp verb `which` failed at F (D:githubVueBlognode_moduleswhichwhich.js:68:19)gyp verb `which` failed at E (D:githubVueBlognode_moduleswhichwhich.js:80:29)gyp verb `which` failed at D:githubVueBlognode_moduleswhichwhich.js:89:16gyp verb `which` failed at D:githubVueBlognode_modulesisexeindex.js:42:5gyp verb `which` failed at D:githubVueBlognode_modulesisexewindows.js:36:5gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15) code: ’ENOENT’ }gyp verb check python checking for Python executable 'python' in the PATHgyp verb `which` failed Error: not found: pythongyp verb `which` failed at getNotFoundError (D:githubVueBlognode_moduleswhichwhich.js:13:12)gyp verb `which` failed at F (D:githubVueBlognode_moduleswhichwhich.js:68:19)gyp verb `which` failed at E (D:githubVueBlognode_moduleswhichwhich.js:80:29)gyp verb `which` failed at D:githubVueBlognode_moduleswhichwhich.js:89:16gyp verb `which` failed at D:githubVueBlognode_modulesisexeindex.js:42:5gyp verb `which` failed at D:githubVueBlognode_modulesisexewindows.js:36:5gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15)gyp verb `which` failed python { Error: not found: pythongyp verb `which` failed at getNotFoundError (D:githubVueBlognode_moduleswhichwhich.js:13:12)gyp verb `which` failed at F (D:githubVueBlognode_moduleswhichwhich.js:68:19)gyp verb `which` failed at E (D:githubVueBlognode_moduleswhichwhich.js:80:29)gyp verb `which` failed at D:githubVueBlognode_moduleswhichwhich.js:89:16gyp verb `which` failed at D:githubVueBlognode_modulesisexeindex.js:42:5gyp verb `which` failed at D:githubVueBlognode_modulesisexewindows.js:36:5gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15) code: ’ENOENT’ }gyp verb could not find 'python'. checking python launchergyp verb could not find 'python'. guessing locationgyp verb ensuring that file exists: C:Python27python.exegyp ERR! configure errorgyp ERR! stack Error: Can’t find Python executable 'python', you can set the PYTHON env variable.gyp ERR! stack at Object.failNoPython (D:githubVueBlognode_modulesnode-gyplibconfigure.js:482:19)gyp ERR! stack at Object.<anonymous> (D:githubVueBlognode_modulesnode-gyplibconfigure.js:508:16)gyp ERR! stack at D:githubVueBlognode_modulesgraceful-fspolyfills.js:284:29gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)gyp ERR! System Windows_NT 10.0.14393gyp ERR! command 'E:軟件node.jsnode.exe' 'D:githubVueBlognode_modulesnode-gypbinnode-gyp.js' 'rebuild' '--verbose' '--libsass_ext=' '--libsass_cflags=' '--libsass_ldflags=' '--libsass_library='gyp ERR! cwd D:githubVueBlognode_modulesnode-sassgyp ERR! node -v v6.9.4gyp ERR! node-gyp -v v3.6.0gyp ERR! not ok

javascript - npm install 報(bào)錯(cuò),求解

問題解答

回答1:

npm install -g cnpm --registry=https://registry.npm.taobao.orgcnpm node-sass --save-dev回答2:

node-sass 無法正常下載,國(guó)內(nèi)下載好像網(wǎng)絡(luò)不是很好,可以使用cnpm(淘寶源)下載

回答3:

node有沒有全局安裝 / node版本是不是最新 / npm版本是不是最新

回答4:

提問前先搜索下,參考我的回答

回答5:

代碼提示了不是么。一個(gè)是少了-g,還有sass那么下不下來,超時(shí)了。改cnpm

標(biāo)簽: JavaScript
相關(guān)文章:
主站蜘蛛池模板: 成人精品网 | 成人性生免费视频 | 欧美啊v在线观看 | 在线免费视频国产 | 人成免费a级毛片 | 97免费公开视频 | 精品视频h| 在线综合+亚洲+欧美中文字幕 | 97高清国语自产拍中国大陆 | 亚洲国产另类久久久精品小说 | 2019天天操天天干天天透 | 中文字幕亚洲高清综合 | 在线a亚洲视频播放在线观看 | 久久精品视频播放 | 2021国产精品自在拍在线播放 | 日本一区二区三区欧美在线观看 | 国产的一级毛片完整 | 免费国产99久久久香蕉 | 成人免费黄网站 | 最近手机中文在线视频 | 国产亚洲人成a在线v网站 | 伊人久热这里只有精品视频99 | 男人在线网址 | 美女张开腿让男人桶爽动漫视频 | 91亚洲国产成人久久精品网站 | 看真人视频a级毛片 | 亚洲精品一区二区三区四区手机版 | 男女男在线精品网站免费观看 | 亚洲综合久久久久久888 | 成年人在线免费观看视频网站 | 日本综合欧美一区二区三区 | 国产亚洲精品2021自在线 | 国产亚洲男人的天堂在线观看 | 国产一级一国产一级毛片 | 一及黄色 | 亚洲小视频网站 | 中文字幕亚洲日本岛国片 | 亚洲第一页在线播放 | 亚洲成人在线免费 | 国产a∨一区二区三区香蕉小说 | 免费视频精品一区二区三区 |