Skip to content

Cannot read properties of undefined (reading 'NormalModule') #1969

Open
@albizeka

Description

@albizeka

Version

16.8.3

Reproduction link

sfc.vuejs.org/

Steps to reproduce

I updated the vue 3 to vue 3 typescript and this is happened

What is actually happening?

I'm updating the vue 3 project to vue 3 typescript and this is the error i'm encountering:

ERROR TypeError: Cannot read properties of undefined (reading 'NormalModule')
TypeError: Cannot read properties of undefined (reading 'NormalModule')
at VueLoaderPlugin.apply (/Users/albizeka/Desktop/project/resources/client/node_modules/vue-cli-plugin-vue-next/node_modules/vue-loader/dist/pluginWebpack5.js:44:47)
at webpack (/Users/albizeka/Desktop/project/resources/client/node_modules/@vue/cli-service/node_modules/webpack/lib/webpack.js:51:13)
at serve (/Users/albizeka/Desktop/project/resources/client/node_modules/@vue/cli-service/lib/commands/serve.js:137:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I read some of things that i found on another pages, like to downgrade the webpack and ts-loader to 8.2.0 but none of this seemed to work.

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