xalaida / laravel-nuxt-docker

🦾 Dockerized template for your next project with Laravel and Nuxt.
336 stars 104 forks source link

Cannot find module @rollup/rollup-linux-arm64-gnu. #50

Open mcmc4519 opened 4 days ago

mcmc4519 commented 4 days ago

Steps to reproduce:

cd ./web
./install.sh

The results in a console:

Cannot find module '@rollup/rollup-linux-arm64-gnu'

open localhost:3000: I see nuxtJS page with error 503

According to researching I found some solution: https://github.com/vitejs/vite/issues/15167

Solution is:

  1. Add to./web/package.json: code below "pnpm": { "overrides": { "rollup": "npm:@rollup/wasm-node" } }

  2. Reinstall node_modules: rm package-lock.json && rm -rf node_modules && npm i

How we can make changes in this repo?

xalaida commented 4 days ago

I guess the issue only appears on ARM, because right now I cannot reproduce. I will take a look at this later from my macbook.