为什么昨天还好好的angular,今天就会报各种错了?
各种报错,很是无语!!!!!~
求大佬帮下忙,解决一下~,谢了
git: https://github.com/yyccQQu/04... dev分支上
warning Error running install script for optional dependency: "E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass: Command failed.
Exit code: 1
Command: C:\\WINDOWS\\system32\\cmd.exe
Arguments: /d /s /c node scripts/build.js
Directory: E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass
Output:
Binary found at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\vendor\\win32-x64-57\\binding.node
Testing binary
Binary has a problem: Error: \\\\?\\E:\\å端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\vendor\\win32-x64-57\\binding.node is not a valid Win32 application\\\\?\\E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\vendor\\win32-x64-57\\binding.node
at Object.Module._extensions..node (module.js:664:18)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at module.exports (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\lib\\binding.js:19:10)
at Object.<anonymous> (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\lib\\index.js:14:35)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
Building the binary locally
Building: F:\\gongju\
ode.exe E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-gyp\\bin\
ode-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'F:\\\\gongju\\\
ode.exe',
gyp verb cli 'E:\\\\前端\\\
g2\\\\999\\\\PPP\\\\0405newNg\\\\my-app\\\
ode_modules\\\
ode-gyp\\\\bin\\\
ode-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.2
gyp info using node@8.9.3 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing \"build\" directory
gyp verb command configure []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb check python checking for Python executable \"python2\" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
gyp verb check python checking for Python executable \"python\" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed at getNotFoundError (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed python { Error: not found: python
gyp verb `which` failed at getNotFoundError (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
gyp verb could not find \"python\". checking python launcher
gyp verb could not find \"python\". guessing location
gyp verb ensuring that file exists: C:\\Python27\\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable \"python\", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-gyp\\lib\\configure.js:483:19)
gyp ERR! stack at PythonFinder.<anonymous> (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-gyp\\lib\\configure.js:508:16)
gyp ERR! stack at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\graceful-fs\\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command \"F:\\\\gongju\\\
ode.exe\" \"E:\\\\前端\\\
g2\\\\999\\\\PPP\\\\0405newNg\\\\my-app\\\
ode_modules\\\
ode-gyp\\\\bin\\\
ode-gyp.js\" \"rebuild\" \"--verbose\" \"--libsass_ext=\" \"--libsass_cflags=\" \"--libsass_ldflags=\" \"--libsass_library=\"
gyp ERR! cwd E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass
gyp ERR! node -v v8.9.3
Done in 164.26s.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MdInputModule似乎又问题吧,这个错误信息其实看不出什么
包错误,重新安装最开始的包就行了。node_modules里面的包感觉很不稳定!!!!