franke 发表于 2019-7-12 16:11:10

启动前台报错, 控制台乱码


启动前台报错, 控制台乱码, 调成UTF-8 和 GBK都不起作用, 请教这是什么问题?

"D:\Program Files\JetBrains\WebStorm 2018.1.3\bin\runnerw.exe" D:\ebizprise\java\nodejs\node.exe "D:\Program Files (x86)\Yarn\bin\yarn.js" run serve
yarn run v0.21.3
(node:10808) DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ vue-cli-service serve --open
'vue-cli-service' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Process finished with exit code 1

franke 发表于 2019-7-12 16:42:15

前台小白,已经解决!:lol

解决方案:
http://www.jeecg.org/forum.php?mod=viewthread&tid=7816&extra=page%3D1

cmd
cd D:\git\jeecg-boot\ant-design-vue-jeecg\node_modules
npm install -g rimraf
rimraf node_modules
yarn


页: [1]
查看完整版本: 启动前台报错, 控制台乱码