You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on build process I receive the exception: compiler.parseComponent is not a function, In development is working perfectly, in vue-loader/lib/index.js I put an console.log to check why this is happening, and I notice in sometimes the compiler is a blank object {}.
The log:
I met the same problem. I have temporarily fixed it by disable parallel in vue.config.js.
I think it is caused by the use of 'thread-loader', which is enabled default by vue-cli.
The main node process passes stringified webpack options (includes vue-loader options) to worker processes. Functions could not be passed.
Version
15.4.2
Reproduction link
https://github.com/lucasmpaim/testbuild
Steps to reproduce
run yarn build
What is expected?
The build has compiled without problem
What is actually happening?
raised a error compiler.parseComponent is not a function
Using this solution: vuejs/vue#3934 with vue-cli project
With this configuration:
on build process I receive the exception:
compiler.parseComponent is not a function
, In development is working perfectly, invue-loader/lib/index.js
I put anconsole.log
to check why this is happening, and I notice in sometimes the compiler is a blank object{}
.The log:
Adding:
Before parser executes, everting work fine.
The text was updated successfully, but these errors were encountered: