Closed oliverfindl closed 1 year ago
Might be related to latest system updates:
Start-Date: 2023-07-20 15:30:35
Commandline: packagekit role='update-packages'
Requested-By: $USER (1000)
Upgrade: libcurl4-openssl-dev:amd64 (7.81.0-1ubuntu1.10, 7.81.0-1ubuntu1.13), libcurl4:amd64 (7.81.0-1ubuntu1.10, 7.81.0-1ubuntu1.13), libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.10, 7.81.0-1ubuntu1.13), python3-samba:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), google-chrome-stable:amd64 (114.0.5735.198-1, 115.0.5790.98-1), samba-vfs-modules:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), samba:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), libwbclient0:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), libsmbclient:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), samba-dsdb-modules:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), samba-common-bin:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), nodejs:amd64 (18.16.1-deb-1nodesource1, 18.17.0-deb-1nodesource1), linux-firmware:amd64 (20230629.gitee91452d-0ubuntu1+system76~1688393113~22.04~870dac4, 20230629.gitee91452d-0ubuntu1+system76~1689594960~22.04~9d563bf), smbclient:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), samba-libs:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), samba-common:amd64 (2:4.15.13+dfsg-0ubuntu1.1, 2:4.15.13+dfsg-0ubuntu1.2), curl:amd64 (7.81.0-1ubuntu1.10, 7.81.0-1ubuntu1.13)
End-Date: 2023-07-20 15:32:53
Start-Date: 2023-07-21 13:58:27
Commandline: apt-get upgrade
Requested-By: $USER (1000)
Upgrade: google-chrome-stable:amd64 (115.0.5790.98-1, 115.0.5790.102-1)
End-Date: 2023-07-21 13:58:32
Start-Date: 2023-07-21 14:02:42
Commandline: apt-get install -y nodejs
Requested-By: $USER (1000)
Upgrade: nodejs:amd64 (18.17.0-deb-1nodesource1, 20.5.0-deb-1nodesource1)
End-Date: 2023-07-21 14:02:45
Update from nodejs@18.17.0
to nodejs@20.5.0
did not solve my issue.
I just found out, that latest working version of nodejs in my environment is 18.16.1
.
Don’t install node from apt.
Can you keep node the same, and try installing different versions of npm until you figure out which one breaks?
Hello @ljharb,
just got it working with latest nodejs@20.5.0
and npm@9.8.1
. Even if I install node@18.17.0
and npm@9.6.7
(first combination, that broke it for me) or nodejs@20.5.0
and npm@9.8.0
(as per my original report in this issue), both are now working as expected. Honestly, I don't know what went wrong here. I just did regular system update yesterday and it broke...
Feel free to close this issue.
Thanks.
The node version shouldn’t make a difference, only the npm version.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Relevant part from log:
Expected Behavior
Successfully install dependencies.
Steps To Reproduce
npm i
Environment
9.8.0
20.5.0