Yarn build server binary does not fail when no nexe prebuild binary is available
See original GitHub issue- Node 8.15.1
Description
yarn task build:server:binary does not fail when nexe can’t fetch a prebuild binary.
INFO DEPENDENCY:NEXE Starting...
INFO DEPENDENCY:NEXE Completed! time=1ms {"time":{"expected":9007199254740991,"ms":1552485158580}}
INFO BUILD:SERVER:BINARY:PACKAGE Executing 'npm ["run","build:nexe"]' {"options":{"cwd":"/src/packages/server"}}
INFO BUILD:SERVER:BINARY:PACKAGE Completed! time=39238ms {"time":{"expected":9007199254740991,"ms":1552485156727}}
INFO BUILD:SERVER:BINARY Completed! time=195361ms {"time":{"expected":9007199254740991,"ms":1552485000605}}
Done in 196.37s.
Running npm run build:nexe shows the error
Error: linux-x64-8.15.1 not available, create it using the --build flag
at NexeCompiler.<anonymous> (/src/packages/server/node_modules/nexe/lib/compiler.js:256:35)
at step (/src/packages/server/node_modules/nexe/lib/compiler.js:46:23)
at Object.next (/src/packages/server/node_modules/nexe/lib/compiler.js:27:53)
at fulfilled (/src/packages/server/node_modules/nexe/lib/compiler.js:18:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
Steps to Reproduce
Use this Dockerfile
FROM node:8.15-alpine
WORKDIR /src
RUN apk --no-cache --no-progress add g++ git libsecret-dev libxkbfile-dev make
RUN git clone https://github.com/codercom/code-server.git . \
&& npm install -g yarn@1.13 \
&& yarn
RUN yarn task build:server:binary
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Yarn build server binary does not fail when no nexe prebuild binary ...
Node 8.15.1 Description yarn task build:server:binary does not fail when nexe can't fetch a prebuild binary. INFO DEPENDENCY:NEXE Starting.
Read more >Error Codes | Yarn - Package Manager
This message simply means that the package couldn't be found there. It's not a huge issue, but you probably should try to limit...
Read more >No Next.js version could be detected in your project. Make ...
I have been getting this error on vercel deployments although I have a next in the dependencies. What I find has been letting...
Read more >Getting Started - ESBuild
#Install esbuild. First, download and install the esbuild command locally. A prebuilt native executable can be installed using npm (which is automatically ...
Read more >Node.js v19.3.0 Documentation
Asserts that the function fn does not throw an error. Using assert.doesNotThrow() is actually not useful because there is no benefit in catching...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You don’t need to be a JS dev to know stdio, stderr and exit codes.
We now use
nbininstead ofnexe. This issue is no longer relevant and can be closed.@nol166 please close.