Skip to content
New issue

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

Error on installation and run #1843

Open
ilhamibrahimvaultdragon opened this issue Jun 18, 2024 · 6 comments
Open

Error on installation and run #1843

ilhamibrahimvaultdragon opened this issue Jun 18, 2024 · 6 comments

Comments

@ilhamibrahimvaultdragon

👉 Please follow one of these issue templates 👈

Note: to keep the backlog clean and actionable, issues may be immediately closed if they do not follow one of the above issue templates.

I have this error :
PS D:\DdDet\newDdDet\selenium-ide> pnpm -r i
Scope: all 22 workspace projects
Lockfile is up to date, resolution step is skipped
 WARN  Failed to create bin at D:\DdDet\newDdDet\selenium-ide\packages\code-export-csharp-nunit\node_modules.bin\side-code-export. ENOENT: no such file or directory, stat 'D:\DdDet\newDdDet\selenium-ide\packages\side-code-export\dist\bin.js.EXE'
 WARN  Failed to create bin at D:\DdDet\newDdDet\selenium-ide\packages\code-export-csharp-commons\node_modules.bin\side-code-export. ENOENT: no such file or directory, stat 'D:\DdDet\newDdDet\selenium-ide\packages\side-code-export\dist\bin.js.EXE'
 WARN  Failed to create bin at D:\DdDet\newDdDet\selenium-ide\packages\code-export-java-junit\node_modules.bin\side-code-export. ENOENT: no such file or directory, stat 'D:\DdDet\newDdDet\selenium-ide\packages\side-code-export\dist\bin.js.EXE'
 WARN  Failed to create bin at D:\DdDet\newDdDet\selenium-ide\packages\code-export-ruby-rspec\node_modules.bin\side-code-export. ENOENT: no such file or directory, stat 'D:\DdDet\newDdDet\selenium-ide\packages\side-code-export\dist\bin.js.EXE'
 WARN  Failed to create bin at D:\DdDet\newDdDet\selenium-ide\packages\code-export-csharp-xunit\node_modules.bin\side-code-export. ENOENT: no such file or directory, stat 'D:\DdDet\newDdDet\selenium-ide\packages\side-code-export\dist\bin.js.EXE'
 WARN  15 other warnings
Done in 1.4s

Thus giving me this error :
PS D:\DdDet\newDdDet\selenium-ide> pnpm run start

selenium-ide-monorepo@ start D:\DdDet\newDdDet\selenium-ide
cd packages/selenium-ide && npm start

[email protected] start
electron build/main-bundle.js

npm ERR! Lifecycle script start failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: [email protected]
npm ERR! at location: D:\DdDet\newVD\selenium-ide\packages\selenium-ide
 ELIFECYCLE  Command failed with exit code 1.

Anything I miss? Can you please help?

@toddtarsi
Copy link
Contributor

Hm, I'm not sure. Did you do all the build steps here?

https://github.com/SeleniumHQ/selenium-ide?tab=readme-ov-file#building

@ilhamibrahimvaultdragon
Copy link
Author

yes, I did

@toddtarsi
Copy link
Contributor

What is the output from the build command?

@toddtarsi
Copy link
Contributor

@ilhamibrahimvaultdragon -

That error message is fine on the install. You're not using those bin files, and if you were, you wouldn't be using em in the node modules folder. You could just run them at the compiled locations.

If you need those bin files to be in the node_modules folder instead of just at like packages/[package-name]/dist/bin.js or something like that, just rerun pnpm -r i after you build, and the linking will work that time. It's an extra step I should write down, but it's fine without really. It's just a warning message.

What I'm interested in is if the build finished without error.
What happens if you run npm run build

What are the file contents of packages/selenium-ide/build?

@toddtarsi
Copy link
Contributor

Closing this in a few days

@toddtarsi
Copy link
Contributor

Without underlying build output, nothing can be done here. Closing next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants