Client build failed. Error: Cannot find module @rollup/rollup-darwin-arm64.
wasp version 0.16.5
MacOS M3
I am trying to deploy my app via Railway. I am able to deploy server. But facing problem when building client /web-app.
I follow wasp documentation.
Documentation link: https://wasp.sh/docs/deployment/deployment-methods/paas#railway
I am STUCK at this step.
Below is the error.
--> I have tried doing wasp clean and start from beginning.
--> I have tried deleting package-lock.json and node_modules then run npm install again.
--> I don't have any custom vite config apart from the one from opensaas template.
I want to try with "yarn" but I'm not sure it would give the same result as "npm".
MacOS M3
I am trying to deploy my app via Railway. I am able to deploy server. But facing problem when building client /web-app.
I follow wasp documentation.
Documentation link: https://wasp.sh/docs/deployment/deployment-methods/paas#railway
I am STUCK at this step.
npm install && REACT_APP_API_URL=<url_to_wasp_backend> npm run buildBelow is the error.
failed to load config from /Users/mylaptop/vscode/mywebapp123/app/.wasp/build/web-app/vite.config.ts
error during build:
Error: Cannot find module @rollup/rollup-darwin-arm64. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please tryagain after removing both package-lock.json and node_modules directory.npm i
--> I have tried doing wasp clean and start from beginning.
--> I have tried deleting package-lock.json and node_modules then run npm install again.
--> I don't have any custom vite config apart from the one from opensaas template.
I want to try with "yarn" but I'm not sure it would give the same result as "npm".
