使用grafana/create-plugin时yarn dev构建插件卡住求助
构建Grafana面板插件时
yarn dev卡在“No errors found.”的问题 环境:Grafana v9.2.2、Node v16.18.1,按照官方面板插件构建教程操作。
执行yarn dev时卡在“No errors found.”,完整输出如下:
yarn run v1.22.19 $ webpack -w -c ./.config/webpack/webpack.config.ts --env development <i> [LiveReloadPlugin] Live Reload listening on port 35729 assets by path *.md 161 bytes asset README.md 109 bytes [emitted] [from: README.md] [copied] asset CHANGELOG.md 52 bytes [emitted] [from: ../CHANGELOG.md] [copied] asset module.js 16.3 KiB [emitted] (name: module) asset LICENSE 11.1 KiB [emitted] [from: ../LICENSE] [copied] asset img/logo.svg 1.55 KiB [emitted] [from: img/logo.svg] [copied] asset plugin.json 789 bytes [emitted] [from: plugin.json] [copied] runtime modules 937 bytes 4 modules built modules 2.7 KiB [built] cacheable modules 2.53 KiB ./module.ts 1.04 KiB [built] [code generated] ./components/SimplePanel.tsx 1.49 KiB [built] [code generated] modules by path external "@grafana/ 84 bytes external "@grafana/data" 42 bytes [built] [code generated] external "@grafana/ui" 42 bytes [built] [code generated] external "react" 42 bytes [built] [code generated] external "@emotion/css" 42 bytes [built] [code generated] webpack 5.75.0 compiled successfully in 2031 ms Type-checking in progress... assets by status 29.9 KiB [cached] 6 assets cached modules 2.7 KiB (javascript) 937 bytes (runtime) [cached] 10 modules webpack 5.75.0 compiled successfully in 574 ms Type-checking in progress... No errors found.
尝试用即将弃用的grafana-toolkit执行yarn dev可正常运行,但官方推荐的grafana/create-plugin构建方式出现此问题,求解决方案。
内容的提问来源于stack exchange,提问作者gbs
相关产品推荐
相关产品推荐

