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

cargo publish -p martin does not work due to Node.js package issue #1667

Open
nyurik opened this issue Jan 27, 2025 · 1 comment · May be fixed by #1668
Open

cargo publish -p martin does not work due to Node.js package issue #1667

nyurik opened this issue Jan 27, 2025 · 1 comment · May be fixed by #1668

Comments

@nyurik
Copy link
Member

nyurik commented Jan 27, 2025

Running cargo publish -p martin --dry-run generates this error, which means I cannot publish v0.15 martin. The other two packages have been published ok.

led to run custom build command for `martin v0.15.0 (/home/nyurik/dev/rust/martin/target/package/martin-0.15.0)`

Caused by:
  process didn't exit successfully: `.../martin/target/package/martin-0.15.0/target/debug/build/martin-c5f8c0cc6225768e/build-script-build` (exit status: 1)
  --- stderr
  Cannot execute npm install: Os { code: 2, kind: NotFound, message: "No such file or directory" }
  Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
warning: build failed, waiting for other jobs to finish...
error: failed to verify package tarball

cc: @CommanderStorm @sharkAndshark

@nyurik nyurik linked a pull request Jan 27, 2025 that will close this issue
1 task
@nyurik
Copy link
Member Author

nyurik commented Jan 27, 2025

I tried solving this in #1668 - and the package dry run seem to be kinda working, but now npm build complains about other things, plus it now writes files to dir outside of the ./target which confuses cargo packager :(

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

Successfully merging a pull request may close this issue.

1 participant