主题 : npm run build 报错
级别: 白丁
UID: 114170
积分:36 加为好友
威望: 2 精华: 0
主题:4 回复:17
注册时间:2017-06-13
在线时长:0
1#   发表于:2020-04-04 18:49:05  IP:180.136.*.*
错误信息:
 ERROR  Failed to compile with 2 errors                                                                                                           18:45:28
This dependency was not found:

* @antv/g6/build/grid in ./src/components/plugin/G6/g6.readonly.js, ./src/components/plugin/G6/g6.js

To install it, you can run: npm install --save @antv/g6/build/grid
 ERROR  Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jeecms_x1@0.1.0 build: `vue-cli-service build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jeecms_x1@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
2#   发表于:2020-04-07 08:38:44  IP:117.115.*.*
您用的这个是授权版本的vue吗?
每天告诉自己一次,“我真的很不错”。
级别: 白丁
UID: 114170
积分:36 加为好友
威望: 2 精华: 0
主题:4 回复:17
注册时间:2017-06-13
在线时长:0
3#   发表于:2020-04-09 16:07:41  IP:116.203.*.*
没事,我把依赖删除后,重新install后,可以build了。谢谢
级别: 白丁
UID: 114170
积分:36 加为好友
威望: 2 精华: 0
主题:4 回复:17
注册时间:2017-06-13
在线时长:0
4#   发表于:2020-04-09 16:09:46  IP:116.203.*.*
我的是x1.2.0的授权版,我用jar方式启动,报个ERROR: 系统参数丢失,程序终止运行!的错误,目前是不支持jar方式启动吗?不支持的话,我见源码中有写到:
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
5#   发表于:2020-04-09 16:09:53  IP:182.236.*.*
好的
每天告诉自己一次,“我真的很不错”。
1 共1页