Please do not post questions in the shout-box as it will be lost in a few days. Open your own topic in the appropriate section. Thank you.

FIX NPM when you updated by mistake....

Started by Bas ON5HB, Mar 23, 2025, 04:44 PM

Previous topic - Next topic

Bas ON5HB

Run the following commands in the frontend directory:

rm -rf ./node_modules ./package-lock.json
npm install vite@5.4.16 Newer vite versions break the code.

Then reinit npm

npm i
Now try building again:

npm audit fix
npm run build
It worked for me and the frontend can be build again.

If that didn't work, then read the next document, the Compiling the Frontend part:

https://github.com/ny4qphil/PhantomSDR-Plus/blob/main/INSTALL.md

Then after you done that, try the above commands again. It worked for me.



Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

Powered by EzPortal