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)
- Multi Canvas Tab Bug HOT 2
- umd打包运行失败 HOT 4
- 本地部署后, 连接neo4j的saas服务报错 HOT 2
- 针对于neo4j 感觉没有必要限制是有neo4j+s的schema才可以连接 HOT 1
- [Support] Graph Rendering Exception when Querying Official Movie Dataset in Neo4j HOT 6
- 🐛bug: render issue of neo4j schema HOT 5
- Expected official SimpleNode to support image type
- updata G6 v5
- 地图模式有问题,无法查看地图只能看分布ip
- 无法连接本地Neo4j HOT 2
- G6VP网站导出的UMD源码本地运行后只能是前端中文显示,不能切换成英文 HOT 4
- G6VP网站中导出的html源码中,运行之后工具栏的图标没有任何显示 HOT 2
- G6VP中导出的ESM源码,本地运行之后前端组件全部铺开展示(The ESM source code exported from G6VP, after running locally, displays all frontend components expanded) HOT 2
- ESM Export Issue on G6VP Website HOT 1
- Suggestions for optimizing the display of edge information.
- gi-cli HOT 3
- 请问Combo中防止两个Combo重叠的算法源码在哪里
- 时间线控制器提示设置时间字段
- 时间线控制器每次设置网页都卡死出错
- 关于组件资产问题 HOT 1
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.