Skip to content
New issue

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

TypeError: undefined is not a function at Array.find (<anonymous>) #167

Closed
korggy opened this issue Jan 18, 2021 · 1 comment
Closed

TypeError: undefined is not a function at Array.find (<anonymous>) #167

korggy opened this issue Jan 18, 2021 · 1 comment
Labels

Comments

@korggy
Copy link

korggy commented Jan 18, 2021

Just updated to v1.7.0 & webpack 5.15.0. Received the following error upon yarn serve:

PS D:\Visual Studio Projects\Taskly.client> yarn serve yarn run v1.22.10 warning ..\..\package.json: No license field $ vue-cli-service serve INFO Starting development server... ERROR TypeError: undefined is not a function TypeError: undefined is not a function at Array.find (<anonymous>) at D:\Visual Studio Projects\Taskly.client\node_modules\vuetify-loader\lib\getVueRules.js:19:49 at Array.map (<anonymous>) at getVueRules (D:\Visual Studio Projects\Taskly.client\node_modules\vuetify-loader\lib\getVueRules.js:19:11) at VuetifyLoaderPlugin.apply (D:\Visual Studio Projects\Taskly.client\node_modules\vuetify-loader\lib\plugin.js:12:22) at webpack (D:\Visual Studio Projects\Taskly.client\node_modules\@vue\cli-service\node_modules\webpack\lib\webpack.js:51:13) at serve (D:\Visual Studio Projects\Taskly.client\node_modules\@vue\cli-service\lib\commands\serve.js:163:22) at processTicksAndRejections (internal/process/task_queues.js:93:5) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

rti added a commit to rti/vuetify-loader that referenced this issue Jan 18, 2021
Accessing isVueLoader in exports did not work, therefor this patch
defines the function first and adds it to the exports afterwards.
@rti
Copy link
Contributor

rti commented Jan 18, 2021

@korggy I just found a workaround which works for me... :)
If you want to give it a try, you will find the branch here https://github.com/rti/vuetify-loader/tree/fix_isVueLoader_undefined

@KaelWD KaelWD closed this as completed in 766c034 Jan 19, 2021
@KaelWD KaelWD added the bug label Feb 5, 2021
VladBarabash pushed a commit to Regme-Ltd/regme-vuetify-loader that referenced this issue Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants