We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.css
使用 Windows 系统,在 Node18 下没遇到这个问题,但 Node20 下在 package/core 路径下运行 npm run build 会遇到如下错误:
npm run build
> [build:less] ./scripts/build-less node:child_process:930 throw err; ^ <ref *1> Error: spawnSync F:\Github\LogicFlow\node_modules\.bin\lessc.cmd EINVAL at Object.spawnSync (node:internal/child_process:1124:20) at spawnSync (node:child_process:877:24) at Object.execFileSync (node:child_process:920:15) at compile (F:\Github\LogicFlow\scripts\build-less:22:6) at Object. <anonymous> (F:\Github\LogicFlow\scripts\build-less:87:3) at Module._compile (node:internal/modules/cjs/loader:1469:14) at Module._extensions.. js (node:internal/modules/cjs/loader:1548:10) at Module.load (node:internal/modules/cjs/loader:1288:32) at Module._load (node:internal/modules/cjs/loader:1104:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) { errno: -4071, code: 'EINVAL', syscall: 'spawnSync F:\\Github\\LogicFlow\\node_modules\\.bin\\lessc.cmd', path: 'F:\\Github\\LogicFlow\\node_modules\\.bin\\lessc.cmd', spawnargs: [ 'F:\\Github\\LogicFlow\\packages\\core\\src\\index.less', 'F:\\Github\\LogicFlow\\packages\\core\\es\\index.css' ], error: [Circular *1], status: null, signal: null, output: null, pid: 0, stdout: null, stderr: null } Node.js v20.18.0
该错误不会导致 npm run build 执行失败,但会导致构建产物中缺少 index.css 文件。
另外,使用 Mac 时,Node18 与 Node20 都不会遇到以上问题。
2.0.6
2.0.7
No response
The text was updated successfully, but these errors were encountered:
该 issue 作为 Bug Report 所提供信息的不充分,被暂时关闭了。请修改 issue 以提供最小可复现示例(可以通过以下方式:1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址))来重启 issue。
Sorry, something went wrong.
ChangeSuger
Successfully merging a pull request may close this issue.
发生了什么?
使用 Windows 系统,在 Node18 下没遇到这个问题,但 Node20 下在 package/core 路径下运行
npm run build
会遇到如下错误:该错误不会导致
npm run build
执行失败,但会导致构建产物中缺少 index.css 文件。另外,使用 Mac 时,Node18 与 Node20 都不会遇到以上问题。
logicflow/core版本
2.0.6
logicflow/extension版本
2.0.7
logicflow/engine版本
No response
浏览器&环境
No response
The text was updated successfully, but these errors were encountered: