You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to run Topola Viewer locally via npm start command or npm run build. I get following error:
I am using Linux Mint 20 MATE with latest updates.
The text was updated successfully, but these errors were encountered:
My dev setup is Node.js v16 and it builds correctly.
I tried on another system with Node.js v18 and got the same failure as you did. In general, dependencies have to be updated but it is not as trivial as one would hope. This worked for me in the v18 setup:
npm update
export NODE_OPTIONS=--openssl-legacy-provider
npm run build
Note however that according to stackoverflow setting the --openssl-legacy-provider is not an ideal solution. However, the suggested best solution (npm audit fix --force) doesn't work for yet a different reason having to do with the adm-zip package and Webpack 5. Solving the adm-zip issue is the real path to untangling the dependencies.
First, thank you for writing the app, I found a good use for it.
After running or building it using node v16 as suggested, it works. That's good enough for me.
I am unable to run Topola Viewer locally via
npm start
command ornpm run build
. I get following error:I am using Linux Mint 20 MATE with latest updates.
The text was updated successfully, but these errors were encountered: