Upgrade form 3.x to 4.x
-
Hi!
I am facing an issue during upgrading NodeBB from version 3 to 4.
During upgrade I am getting: error: uncaughtException: Cannot find module "resvg-js-freebsd-x64"It seems that something is wrong - I have added manually this "missing" package to package.json, and after the "nodebb upgrade" command, my changes are overwritten (the added package is deleted).
Even if I put this package directly to node_modules same result...
Thanks in advance.
-
Hi!
I am facing an issue during upgrading NodeBB from version 3 to 4.
During upgrade I am getting: error: uncaughtException: Cannot find module "resvg-js-freebsd-x64"It seems that something is wrong - I have added manually this "missing" package to package.json, and after the "nodebb upgrade" command, my changes are overwritten (the added package is deleted).
Even if I put this package directly to node_modules same result...
Thanks in advance.
What does running
npm ls resvg-js-freebsd-x64
show? We don't use this dependency directly so it might be coming from a plugin. -
S support@community.nodebb.org shared this topic
-
baris
npm ls resvg-js-freebsd-x64
nodebb@4.4.4 /usr/home/hermes/domains/.../public_nodejs
└── (empty) -
Do you get a stacktrace of this crash when you run the upgrade? What plugins are active on your forum? You can run
./nodebb plugins
to find out.