Comments (8)
- 贴下 build 的命令,不要执行 build:advanced
- 贴下 vite 版本
from fe.
> [frontend 5/5] RUN npm install && npm run build:
#0 7.132 npm WARN deprecated @codemirror/[email protected]: As of 0.20.0, this package has been merged into @codemirror/language
#0 8.503 npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
#0 9.475 npm WARN deprecated [email protected]: This package has been replaced by @lezer/common
#0 9.622 npm WARN deprecated [email protected]: This package has been replaced by @lezer/lr
#0 13.71 npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
#0 32.91
#0 32.91 added 786 packages in 32s
#0 32.91
#0 32.91 164 packages are looking for funding
#0 32.91 run `npm fund` for details
#0 32.92 npm notice
#0 32.92 npm notice New major version of npm available! 8.1.2 -> 9.6.7
#0 32.92 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.7>
#0 32.92 npm notice Run `npm install -g [email protected]` to update!
#0 32.92 npm notice
#0 33.27
#0 33.27 > [email protected] build
#0 33.27 > tsc && cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build
- vite
"vite": "^2.1.5",
"vite-plugin-react-svg": "^0.2.0"
}
from fe.
@jicki
pull 下代码,重新试下呢
from fe.
@jicki pull 下代码,重新试下呢
pull 了最新代码以后~还是报错
#0 23.87 npm notice Run `npm install -g [email protected]` to update!
#0 23.87 npm notice
#0 24.16
#0 24.16 > [email protected] build
#0 24.16 > tsc && cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build
#0 24.16
#0 43.55 src/pages/alertRulesBuiltin/index.tsx(93,21): error TS2345: Argument of type 'number | RuleCateType | (() => IterableIterator<RuleCateType>) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | ... 30 more ... | (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<...>[])' is not assignable to parameter of type 'SetStateAction<RuleCateType | undefined>'.
#0 43.55 Type 'number' is not assignable to type 'SetStateAction<RuleCateType | undefined>'.
#0 43.56 src/pages/dashboardBuiltin/index.tsx(76,21): error TS2345: Argument of type 'number | BoardCateType | (() => IterableIterator<BoardCateType>) | (() => { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }) | ... 30 more ... | (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<...>[])' is not assignable to parameter of type 'SetStateAction<BoardCateType | undefined>'.
#0 43.56 Type 'number' is not assignable to type 'SetStateAction<BoardCateType | undefined>'.
from fe.
是改了内置告警规则的代码吗?看错误信息应该是这部分类型检测报错了
from fe.
是改了内置告警规则的代码吗?看错误信息应该是这部分类型检测报错了
是指 nightingale
的代码吗? fe
的代码我没有更改。
from fe.
刚重新安装了下依赖复现了,重新 pull 代码再试下
from fe.
刚重新安装了下依赖复现了,重新 pull 代码再试下
已经可以 编译 通过了. 感谢
from fe.
Related Issues (20)
- npm build error
- 个人优化建议:日志查询 接入文件名称以及文件内容的筛选过滤 HOT 5
- 最新代码 build 以后 打开 ui 白屏了. HOT 1
- 饼图 Total 文字被遮盖问题 HOT 2
- 是否直接考虑将grafana内嵌在夜莺里面? HOT 1
- 这个项目后端在哪里 HOT 2
- 时间轴的间隔可配置化 HOT 2
- packjson.lock淘宝源过期了,建议更换 HOT 1
- 仪表盘的变量值在URL中会改变 HOT 2
- 告警规则里面的备注 拉伸 问题 HOT 2
- npm run build编译报错
- 前端项目单独部署访问报错 HOT 4
- [v7] build error HOT 1
- https://registry.nlark.com/d3-timer/download/d3-timer-1.0.10.tgz failed, reason: getaddrinfo ENOTFOUND registry.nlark.com HOT 9
- edge 节点启动无法访问 404 page not found HOT 2
- 怎么将前端独立运行 HOT 3
- 前端v7.0.0-beta.4 版本编译报错 HOT 3
- 添加 仪表盘 类型的图表内容显示不全 HOT 2
- 【告警规则配置】先修改Metric部分后再去修改Hots部分,保存会丢失Metric部分,切换标签也会丢失之前改的信息 HOT 2
- 需求:集成仪表盘中能添加全屏展示操作么 HOT 3
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 fe.