node-red / node-red-docker

Repository for all things Node-RED and Docker related
Apache License 2.0
469 stars 382 forks source link

ERROR [release 4/7] RUN npm config set python which python3 --global #352

Closed keerio closed 10 months ago

keerio commented 1 year ago

What are the steps to reproduce?

Build a docker

What happens?

npm config set python no longer supported by npm as of npm v9.0.0 https://github.com/nodejs/node-gyp/issues/2798 so https://github.com/node-red/node-red-docker/pull/336 throws an error now

=> [release 3/7] RUN npm config set cache /data/.npm --global 1.3s => ERROR [release 4/7] RUN npm config set python which python3 --global

What do you expect to happen?

Please tell us about your environment:

[ ] Platform/OS:

[ ] Browser:

hardillb commented 1 year ago

Please supply a lot more information about what you mean by build a docker

hardillb commented 1 year ago

Building with the default options works just fine, what options did you change?