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

esbuild binaries distribution are not executable #128

Open
RaitoBezarius opened this issue Dec 15, 2021 · 1 comment
Open

esbuild binaries distribution are not executable #128

RaitoBezarius opened this issue Dec 15, 2021 · 1 comment

Comments

@RaitoBezarius
Copy link
Member

Hi there, thank you for the project.

It seems like when esbuild is used and installed, node_modules/esbuild-$os/bin/esbuild is not executable, I am not sure where in the process this thing happen, maybe post-install.

For repro: https://github.com/Codes-sources-de-la-Justice/TRISTAN/tree/ops-improvements shows this issue when trying to run npm test which fails for obscure reason because esbuild is not executable.

@winston0410
Copy link
Contributor

@RaitoBezarius can you install esbuild with npmlock2nix? I am not able to run the postinstall script, and I think that is the normal behavior. How did you install esbuild?

My error:

error: builder for '/nix/store/743s3jz4r06f7hg73s95wn3z168zi3y7-pdf-service-0.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > npm ERR! errno 1
       > npm ERR! [email protected] postinstall: `node install.js`
       > npm ERR! Exit status 1
       > npm ERR!
       > npm ERR! Failed at the [email protected] postinstall script.
       > npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
       >
       > npm ERR! A complete log of this run can be found in:
       > npm ERR!     /build/.npm/_logs/2021-12-29T09_23_16_845Z-debug.log
       >
       For full logs, run 'nix log /nix/store/743s3jz4r06f7hg73s95wn3z168zi3y7-pdf-service-0.0.0.drv'.
error: 1 dependencies of derivation '/nix/store/f3q945ana9n609pal9xap1mi36wv5n61-portfolio-pdf-service-1.0.0.drv' failed to build

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