[Vuejs]-Nuxt js with Docker: module not found: Error: Can't resolve

0👍

The problem here seems to be regarding the style-loader library, not recognised when running your container.

Giving a deeper look into it, I noticed you forgot the && on the line where you install it (on your dockerfile).

Also, not sure if you have a reason for it, but I would have all dependencies listed on the package.json for consistency, which means I would move eslint-webpack-plugin and style-loader directly on the json so the project always run with those libraries too.

Leave a comment