wuzhijian 发表于 2019-5-29 11:06:40

yarn install 报错

yarn install 的时候报这个错误:
UnicodeEncodeError: 'charmap' codec can't encode characters in position 7185-7189: character maps to <undefined>
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack   at ChildProcess.onCpExit (D:\房地产项目\realty\jeecg-boot\ant-design-jeecg-vue\node_modules\node-gyp\lib\configure.js:345:16)
gyp ERR! stack   at emitTwo (events.js:126:13)
gyp ERR! stack   at ChildProcess.emit (events.js:214:7)
gyp ERR! stack   at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\房地产项目\\realty\\jeecg-boot\\ant-design-jeecg-vue\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--lib
sass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\房地产项目\realty\jeecg-boot\ant-design-jeecg-vue\node_modules\node-sass
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.8.0

xusw1983 发表于 2019-6-10 19:25:21

我也是报这个错

大曼谷鳄鱼 发表于 2019-6-24 16:22:47

楼主解决了吗

admin_jh9 发表于 2019-6-26 14:01:10

常见问题贴里面有解决方法
http://www.jeecg.org/forum.php?mod=viewthread&tid=7816&extra=page%3D1

franke 发表于 2019-7-12 15:59:31

本帖最后由 franke 于 2019-7-12 16:20 编辑

:sleepy:
页: [1]
查看完整版本: yarn install 报错