{
"name": "uitpak2-frontend",
"version": "0.1.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@quasar/extras": "^1.0.0",
"axios": "^0.24.0",
"axios-date-reviver": "^1.0.0-beta.2",
"class-transformer": "^0.4.0",
"core-js": "^3.6.5",
"date-fns": "^2.25.0",
"json-loader": "^0.5.7",
"jsprintmanager": "^4.0.3",
"lodash": "^4.17.21",
"marked": "^4.0.3",
"quasar": "^1.16.0",
"reflect-metadata": "^0.1.13",
"vue": "^2.6.11",
"vue-class-component": "^7.2.3",
"vue-cli-plugin-quasar": "^3.0.2",
"vue-property-decorator": "^9.1.2",
"vue-router": "^3.2.0",
"vuex": "^3.4.0"
},
"devDependencies": {
"@types/jsprintmanager": "^2.0.0",
"@types/lodash": "^4.14.177",
"@types/marked": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-typescript": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^6.2.2",
"node-sass": "^4.13.0",
"prettier": "^2.2.1",
"sass-loader": "^8.0.0",
"typescript": "~4.1.5",
"vue-template-compiler": "^2.6.11",
"vuex-class": "^0.3.2",
"vuex-module-decorators": "^1.0.1"
}
}
Describe the bug
Not sure this is a but or rather some problem with my setup.
During the building of a docker image from my projet I get a
Cannot read property 'quasar' of undefinederror which I don't get while compiling the same problem on my dev PC. I've tried many things but can't figure out why there is different behavior during docker build. Thepackage-lock.jsonfiles are identical.Full error message
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Dockerfile
click to view file
Additional context
package.json file
click to view file
{ "name": "uitpak2-frontend", "version": "0.1.1", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "@quasar/extras": "^1.0.0", "axios": "^0.24.0", "axios-date-reviver": "^1.0.0-beta.2", "class-transformer": "^0.4.0", "core-js": "^3.6.5", "date-fns": "^2.25.0", "json-loader": "^0.5.7", "jsprintmanager": "^4.0.3", "lodash": "^4.17.21", "marked": "^4.0.3", "quasar": "^1.16.0", "reflect-metadata": "^0.1.13", "vue": "^2.6.11", "vue-class-component": "^7.2.3", "vue-cli-plugin-quasar": "^3.0.2", "vue-property-decorator": "^9.1.2", "vue-router": "^3.2.0", "vuex": "^3.4.0" }, "devDependencies": { "@types/jsprintmanager": "^2.0.0", "@types/lodash": "^4.14.177", "@types/marked": "^4.0.0", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-router": "~4.5.0", "@vue/cli-plugin-typescript": "~4.5.0", "@vue/cli-plugin-vuex": "~4.5.0", "@vue/cli-service": "~4.5.0", "@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-typescript": "^7.0.0", "eslint": "^6.7.2", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^6.2.2", "node-sass": "^4.13.0", "prettier": "^2.2.1", "sass-loader": "^8.0.0", "typescript": "~4.1.5", "vue-template-compiler": "^2.6.11", "vuex-class": "^0.3.2", "vuex-module-decorators": "^1.0.1" } }vue.config.js
click to view file
File that causes the error in the container
click to view file