Skip to content

vue引入报错error in ./node_modules/v-code-diff/dist/index.es.js #63

Closed
@ENCIGuo

Description

@ENCIGuo

每次引入v-code-diff,启动项目之后就会报错
error in ./node_modules/v-code-diff/dist/index.es.js
Module parse failed: Unexpected token (594:18)
You may need an appropriate loader to handle this file type.
| try {
| i[s++] = new e.Diff(u, decodeURI(f));
| } catch {
| throw new Error("Illegal escape in diff_fromDelta: " + f);
| }

@ ./src/main.js 9:0-35
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions