I'm getting an error when trying to create a Docker build using vue-cli Webpack boilerplate. I can build locally just fine with the following versions of Node and npm
Node v7.10.0
npm v4.6
The command to do a production build npm run build is successful on my local machine.
The same command in docker produces the following error:
ERROR in ./src/main.js
Module build failed: Error: No ESLint configuration found.
at getLocalConfig (/usr/local/strap/node_modules/eslint/lib/config.js:162:35)
at Config.getConfig (/usr/local/strap/node_modules/eslint/lib/config.js:260:26)
at processText (/usr/local/strap/node_modules/eslint/lib/cli-engine.js:224:33)
at CLIEngine.executeOnText (/usr/local/strap/node_modules/eslint/lib/cli-engine.js:754:26)
at lint (/usr/local/strap/node_modules/eslint-loader/index.js:211:17)
at Object.module.exports (/usr/local/strap/node_modules/eslint-loader/index.js:206:21)
There is also an eslintrc.js file defined at the root of the project (this is part of the boilerplate), which is why the error in the Docker build isn't making any sense to me.
Any help is appreciated!
via user2360062
No comments:
Post a Comment