Skip to content

elmPackages - broken nodejs builds #152745

@turboMaCk

Description

@turboMaCk

Nodejs packages packaged using node2nix in elmPackages are currently broken (master/unstable). Issue seems to be similar to svanderburg/node2nix#236

Full error
npm ERR! code ENOTCACHED
npm ERR! request to https://registry.npmjs.org/elm-review failed: cache mode is 'only-if-cached' but no cached response is available.

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/.npm/_logs/2021-12-30T16_17_28_553Z-debug.log

error: builder for '/nix/store/sf6nk3pxrh7jb7h6k5dsaj1aakrav81c-elm-test-0.19.1-revision7.drv' failed with exit code 1;
       last 10 log lines:
       > npm WARN old lockfile     at async fetch (/nix/store/8acnc0m7m0m8jxcdhxdvyfqq8hav0a4f-nodejs-16.13.1/lib/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js:82:7)
       > npm WARN old lockfile     at async Array.<anonymous> (/nix/store/8acnc0m7m0m8jxcdhxdvyfqq8hav0a4f-nodejs-16.13.1/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:741:9) {
       > npm WARN old lockfile   code: 'ENOTCACHED'
       > npm WARN old lockfile }
       > npm ERR! code ENOTCACHED
       > npm ERR! request to https://registry.npmjs.org/elm-review failed: cache mode is 'only-if-cached' but no cached response is available.
       > 
       > npm ERR! A complete log of this run can be found in:
       > npm ERR!     /build/.npm/_logs/2021-12-30T16_17_28_553Z-debug.log
       > 
       For full logs, run 'nix log /nix/store/sf6nk3pxrh7jb7h6k5dsaj1aakrav81c-elm-test-0.19.1-revision7.drv'.

It seems that npm is trying to download dependencies over network.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions