Skip to content

TypeError: Cannot read property 'parseComponent' of undefined #82

@jbnv

Description

@jbnv

After doing npm update, my npm run dev is throwing a bunch of instances of one error:

TypeError: Cannot read property 'parseComponent' of undefined
at parse (node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
at Object.module.exports (node_modules/vue-loader/lib/index.js:67:22)
@ ./resources/js/routes/index.js 18:11-28
@ ./resources/js/sp.js
@ multi ./resources/js/sp.js

The errors are all the same except for one difference: the reference 18:11-28 for ./resources/js/routes/index.js is different for each file. It looks like each error corresponds to an () => import() statement.

I would definitely appreciate some assistance on this since it's crashing my project's entire build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions