Skip to content

Demonstration of a Nuxt3 problem

Notifications You must be signed in to change notification settings

HendrikJan/nuxt3-problem

Repository files navigation

Reproduce the error

  1. Start Docker-compose with this command: docker compose up
  2. Log in to the mynodejs Docker container: docker compose exec mynodejs bash
  3. Now inside the mynodejs container build Nuxt: npm run build

See that you get this error:

Rollup error: EACCES: permission denied, stat '/root/.node_modules/file:/var/app/node_modules/unenv/runtime/mock'
  1. Inside the mynodejs container run: npm run start

See that the server does not start and this error is shown:

Nuxt CLI v3.0.0-rc.6                                                         07:43:59

 ERROR  Cannot find nitro.json. Did you run nuxi build first? Search path:   07:43:59
 [
  '/var/app/.output/nitro.json',
  '/var/app/nitro.json'
]
  1. Run build and start outside Docker and see that there is no problem.

About

Demonstration of a Nuxt3 problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published