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
Execute: pnpm run ready
No response
When I try to execute the command pnpm run ready is giving me the next error.
pnpm run ready
pnpm run ready > [email protected] ready C:\Users\jesus\Documents\Collab\farm > node scripts/ready.mjs Installing dependencies... Cleaning... Code Spell lint... build core、js/rust plugins、cli ... FARM INFO Protobuf has been installed, skipping installation. √ Build Cli completed! √ Build Runtime completed! √ Build Core completed! √ Build PluginTools completed! √ Build RustPlugins completed! √ Build JsPlugins completed! √ Build Artifacts completed! Cargo check Cargo clippy TypeScript check Unit Test Cargo test Building core CJS... Building examples Building 68 examples... Building examples\arcgis Building examples\arco-pro Building examples\build-lib-external Building examples\component-classes Building examples\css-modules Building examples\css-url Building examples\decorators Building examples\electron file:///C:/Users/jesus/Documents/Collab/farm/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60 error = new Error(message); ^ Error: Command failed with exit code 1: npm run build [ Farm ] Error: Failed to load config file: Electron failed to install correctly, please delete node_modules/electron and try installing again Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at getElectronPath (C:\Users\jesus\Documents\Collab\farm\node_modules\.pnpm\e[email protected]\node_modules\electron\index.js:17:11) at Object.<anonymous> (C:\Users\jesus\Documents\Collab\farm\node_modules\.pnpm\e[email protected]\node_modules\electron\index.js:21:18) at Module._compile (node:internal/modules/cjs/loader:1554:14) at Object..js (node:internal/modules/cjs/loader:1706:10) at Module.load (node:internal/modules/cjs/loader:1289:32) at Function._load (node:internal/modules/cjs/loader:1108:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:220:24) at cjsLoader (node:internal/modules/esm/translators:262:5) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:196:7) > @farmfe-examples/[email protected] build > farm build && electron-forge package [ Farm ] Using config file at C:\Users\jesus\Documents\Collab\farm\examples\electron\farm.config.ts at makeError (file:///C:/Users/jesus/Documents/Collab/farm/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11) at handlePromise (file:///C:/Users/jesus/Documents/Collab/farm/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:124:26) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async buildExamples (file:///C:/Users/jesus/Documents/Collab/farm/scripts/build.mjs:59:7) at async file:///C:/Users/jesus/Documents/Collab/farm/scripts/ready.mjs:54:1 { shortMessage: 'Command failed with exit code 1: npm run build', command: 'npm run build', escapedCommand: 'npm run build', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '\n' + '> @farmfe-examples/[email protected] build\n' + '> farm build && electron-forge package\n' + '\n' + '\x1B[38;2;113;26;95m\x1B[1m[ \x1B[1mFarm\x1B[22m\x1B[1m ]\x1B[22m\x1B[39m Using config file at \x1B[1m\x1B[32mC:\\Users\\jesus\\Documents\\Collab\\farm\\examples\\electron\\farm.config.ts\x1B[39m\x1B[22m', stderr: '\x1B[38;2;219;90;107m\x1B[38;2;219;90;107m\x1B[1m[ \x1B[1mFarm\x1B[22m\x1B[1m ]\x1B[22m\x1B[38;2;219;90;107m Error: Failed to load config file: Electron failed to install correctly, please delete node_modules/electron and try installing again \n' + '\n' + 'Error: Electron failed to install correctly, please delete node_modules/electron and try installing again\n' + ' at getElectronPath (C:\\Users\\jesus\\Documents\\Collab\\farm\\node_modules\\.pnpm\\[email protected]\\node_modules\\electron\\index.js:17:11)\n' + ' at Object.<anonymous> (C:\\Users\\jesus\\Documents\\Collab\\farm\\node_modules\\.pnpm\\[email protected]\\node_modules\\electron\\index.js:21:18)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1554:14)\n' + ' at Object..js (node:internal/modules/cjs/loader:1706:10)\n' + ' at Module.load (node:internal/modules/cjs/loader:1289:32)\n' + ' at Function._load (node:internal/modules/cjs/loader:1108:12)\n' + ' at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n' + ' at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)\n' + ' at cjsLoader (node:internal/modules/esm/translators:262:5)\n' + ' at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:196:7)\x1B[39m', cwd: 'examples\\electron', failed: true, timedOut: false, isCanceled: false, killed: false } Node.js v22.14.0 ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
Take a look at #2099?
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
Execute: pnpm run ready
Reproduce link
No response
What is actually happening?
When I try to execute the command
pnpm run ready
is giving me the next error.System Info
The text was updated successfully, but these errors were encountered: