opensumi / core

🚀 A framework helps you quickly build AI Native IDE products.
https://opensumi.com
MIT License
2.96k stars 380 forks source link

[Question] 环境安装问题 #3518

Closed goolin163 closed 3 months ago

goolin163 commented 6 months ago

我有在win10 win11安装环境,查看opensumi文档和vs code文档都不大顺利, 在core这个项目运行yarn命令出现一些错误。经过搜索解决多个错误后能正常运行 ,但测试ide-startup这个项目,运行yarn命令出现下面错误。后使用Mac os安装,安装过程比较顺利,core这个项目也正常运行,但ide-startup也是出现下面错误。 是否有个在一步步安装对应软件版本的流程。确保这些软件组合能正常运行项目

goolin163 commented 6 months ago

$ yarn yarn install v1.22.22 [1/4] 🔍 Resolving packages... success Already up-to-date. $ npm run compile:worker-host && npm run compile:ext-host && npm run download:extensions

startup@1.0.0 compile:worker-host cross-env NODE_ENV=production webpack --config ./configs/webpack.worker-host.config.js

/Users/apple/opensumi/ide-startup/node_modules/loader-runner/lib/LoaderRunner.js:106 throw new Error("callback(): The callback was already called."); ^

Error: callback(): The callback was already called. at context.callback (/Users/apple/opensumi/ide-startup/node_modules/loader-runner/lib/LoaderRunner.js:106:10) at Object.ESBuildLoader (/Users/apple/opensumi/ide-startup/node_modules/esbuild-loader/dist/loader.js:62:9) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.20.1 error Command failed with exit code 1.

a1347acb commented 5 months ago

这个问题我也遇到过,我当时是切换了node版本,node 14版本可以正常运行,改几个问题后也可以用16版本运行🤔

stale[bot] commented 3 months ago

此问题已被自动标记为已过时,如果没有进一步的活动,它将被关闭。谢谢您的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.