Comments (6)
pnpm i
cd G6VP/packages/gi-site
npm run build
即可得到 G6VP 站点的静态文件
from g6vp.
系统是win10
node是v16.18.0
npm是@8.19.2
运行build命令报错
https://pic.imgdb.cn/item/64d0b9f61ddac507cc243e1e.png
from g6vp.
@YongFaGitHub 看起来像是 lock文件的问题,检查下是否是master最新代码
from g6vp.
代码已更新最新版本执行报错如下
`D:\work\g6vp2\G6VP\packages\gi-site>npm run build
@antv/[email protected] prebuild
node scripts/link.mjs && node --experimental-json-modules scripts/pre-build.mjs
使用示例: pnpm run link
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@antv/gi-sdk' imported from D:\work\g6vp2\G6VP\packages\gi-site\scripts\pre-build.mjs
at new NodeError (node:internal/errors:387:5)
at packageResolve (node:internal/modules/esm/resolve:852:9)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
at defaultResolve (node:internal/modules/esm/resolve:1115:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:837:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
`
from g6vp.
使用Linux系统成功打包编译前端页面代码了,
from g6vp.
@YongFaGitHub 那应该就是 win 的环境问题。如果觉得 G6VP 对你的业务项目有帮助,还望点个star支持下
from g6vp.
Related Issues (20)
- feature: 点/边样式配置优化
- 上传资产包自动填写 HOT 1
- 语言包优化:算法资产 HOT 1
- 无法启动gi-httpservice HOT 4
- G6VP vs Graphin vs Graph Insight HOT 3
- Feat:体验优化
- 获取到的schema信息有误
- Using with G6VP "Vite" HOT 3
- 布局方案bug HOT 1
- 水印bug HOT 2
- “大图展览” 无法设置大图展示节点数限制 HOT 1
- graph.updateItem icon:image bug HOT 3
- pnpx @antv/gi-cli 报错,从 @antv/gi-cli 1.2.2 开始有这问题 HOT 3
- 请问G6VP项目能否离线部署 HOT 9
- Tugraph-DB 对于 G6VP 的需求清单
- html无法导出问题
- BUG: 前一布局动画未完成时,布局切换错误
- BUG: Cypher 语句查询的初始设置无效
- BUG:使用neo4j作为数据源时,样式定义文本字段未正确列举
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g6vp.