Error 500 on Dynamic Pages

Question:
I am getting Error 500 on dynamic pages after installing npm package from the “Packages & Apps” section in Editor X UI.

I have installed npm packages through the Wix CLI just fine but ever since installing an npm package through the UI, I’ve been getting the error.
This is the previous post I made that lead me to getting this error.
TLDR: I was trying to get the latest version of the react-select package approved into the npm-modules list but the only way to do so was installing through the UI rather than CLI.
This error is happening on 2 separate dynamic pages connected to different database connections.
The site URL is:

  • https://www.beaglelabs.ai/claim-v2/{claimNumber}

This seems like a common issue based on these other 2 posts.

This is an urgent issue.

What have you already tried:
I’ve tried reverting my site to a previous version but still get the same error 500 when I got into preview mode.
I’m hesitant on publishing into the live site as that would affect my end users experience.

did you get this resolved?

Yes luckily I had a previous version of my site saved on Github and was able to compare the differences between the last working state and the broken one.
These were the files changed in my broken branch:

  • add in src/velo.dependencies.json
  • removed wix.lock
  • updated package.json
    • move all dependencies into devDependencies
    • dependencies only had 1 reference “dependencies”: “run-func”: “^3.0.0”

Those were the changes I made but I’m not sure which one ended up resolving the issue