Skip to content

TypeError: loaderContext.getOptions is not a function #1484

Open
@albizeka

Description

@albizeka

yntax Error: TypeError: loaderContext.getOptions is not a function

@ multi (webpack)-dev-server/client?http://localhost:8081/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts

I upgraded my app from vue 3 js to vue 3 typescript and this error occurs when i try to start the dev server:

I tried to downgrade webpack to version 4, also the ts-loader to 8.2.0 and node version but non of these works.

Does anybody solved this issue?

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