ej52 / proxmox-scripts

MIT License
568 stars 303 forks source link

Building frontend failed: "Tapable.plugin is deprecated. Use new API on `.hooks` instead" #103

Closed GravitaBB closed 9 months ago

GravitaBB commented 1 year ago

Script nginx-proxy-manager

Describe the bug [error] Building frontend /tmp/npm_install.sh: line 181: yarn build

System info:

Screenshots image

Additional context Edit: in Debian 11 (VMware VM) the build/installation process runs just fine without any errors

pegasusict commented 1 year ago

same issue

ParaVirtual commented 1 year ago

Same issue here. Version of Alpine is 3.17, running on Proxmox VE 7.3-6

[success] Checking for latest openresty repository [success] Updating container OS [success] Installing dependencies [success] Setting up python [success] Checking for latest NPM release [success] Downloading NPM v2.9.20 [success] Setting up enviroment [success] Generating dummy SSL certificate [error] Building frontend /tmp/npm_install.sh: line 181: yarn build Tapable.plugin is deprecated. Use new API on .hooks instead node --trace-deprecation ... to show where the warning was created) unsupported 19) 10) 53) 16) 10) 5 12 3 10) 10) 3 11) 2) 4) 16) 9 16 3) unsupported 19) 10) 53) 16) 10) 5 12 3 10) 10) 3 11) 2) 4) 16) 9 16 3) 71 this[kHandle] = new _Hash(algorithm, xofLen); ^

unsupported 19) 10) 53) 16) 10) 5 12 3 10) 10) 3 13) { error' ], 'digital envelope routines', 'unsupported', 'ERR_OSSL_EVP_UNSUPPORTED' }

v18.14.2 Command failed with exit code 1. / #

heriniaina commented 1 year ago

Same,

I think I'll install Alpine 3.16 since that's what he uses in the create.sh

GravitaBB commented 1 year ago

I think I'll install Alpine 3.16 since that's what he uses in the create.sh

Seems to be working. I spun up a test container with Alpine 3.16 and it ran through without any issues. Why haven't I thought about doing this earlier? 🤣

GravitaBB commented 1 year ago

(Closed by accident -> reopened)

heriniaina commented 1 year ago

Confirmed, working well with Alpine 3.16

So AFAIK it doesn't support Alpine 3.17 yet