We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.5
10.12.0, 1.10.1, Windows 10
This is my package.json:
{ "name": "tmp", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", "test": "vue-cli-service test:unit", "test:unit": "vue-cli-service test:unit" }, "dependencies": { "vue": "^2.5.17", "worker-loader": "^2.0.0" }, "devDependencies": { "@vue/cli-plugin-babel": "^3.0.5", "@vue/cli-plugin-eslint": "^3.0.5", "@vue/cli-plugin-typescript": "^3.0.5", "@vue/cli-plugin-unit-jest": "^3.0.5", "@vue/cli-service": "^3.0.5", "@vue/eslint-config-standard": "^3.0.5", "@vue/eslint-config-typescript": "^3.0.5", "@vue/test-utils": "^1.0.0-beta.25", "babel-core": "7.0.0-bridge.0", "babel-jest": "^23.6.0", "dayjs": "^1.7.7", "element-resize-detector": "^1.1.14", "interactjs": "^1.3.4", "node-sass": "^4.9.4", "null-loader": "^0.1.1", "office-ui-fabric-vue": "git https://github.com/johannes-z/office-ui-fabric-vue.git#dev", "sass-loader": "^7.1.0", "style-resources-loader": "^1.2.1", "typescript": "^3.1.3", "vue-mq": "^0.2.1", "vue-snotify": "^3.2.1", "vue-template-compiler": "^2.5.17", "vuex": "^3.0.1" }, "gitHooks": { "pre-commit": "npm run lint" } }
yarn build should work, and process the worker correctly.
yarn build
yarn serve works, but yarn build results in an error, originating from the worker file:
yarn serve
Module build failed (from ./node_modules/thread-loader/dist/cjs.js): Thread Loader (Worker 0) Cannot read property 'createChildCompiler' of undefined at Object.pitch (C:\Users\johannes.zwirchmayr.C4\Projects\corner4\C4.CS.Widgets\node_modules\worker-loader\dist\index.js:83:39) @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js& 109:0-74 339:37-56 @ ./src/App.vue?vue&type=script&lang=js& @ ./src/App.vue @ ./src/main.ts @ multi ./src/main.ts
See also: developit/workerize-loader#42
The text was updated successfully, but these errors were encountered:
If I understand correctly, this is a problem between thread-loader and workerize-loader.
So nothing we can fix I think, it has to be solved upstream.
Meanwhile, you can set parallel: false in vue.config.js to disable thread-loader.
parallel: false
Sorry, something went wrong.
@LinusBorg Cool, works great!
defineOptions is not defined
No branches or pull requests
Version
3.0.5
Node and OS info
10.12.0, 1.10.1, Windows 10
Steps to reproduce
This is my package.json:
What is expected?
yarn build
should work, and process the worker correctly.What is actually happening?
yarn serve
works, butyarn build
results in an error, originating from the worker file:See also: developit/workerize-loader#42
The text was updated successfully, but these errors were encountered: