Error during build

dalton5HOBBY

a year ago

Hi,

I have this error when I deploy. Locally it works well. How can I fix this?

11 10.46 npm ERR! Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.

1 Replies

a year ago

Have you tried the suggested fix?


Error during build - Railway Help Station