Skip to content

Get error when building nuxt at nuxt-shiki 0.3.0, missing correct shiki output file #33

@David-Tsui

Description

@David-Tsui

Version

0.3.0 (No such issue at 0.1.x)

Description

Not sure this issue should be posted here or Shiki itself.

After upgrading to 0.3.0, I got an error when building nuxt.

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/user/Desktop/my-repo/.output/server/node_modules/shiki/dist/wasm.mjs' imported from /Users/user/Desktop/my-repo/.output/server/chunks/build/server.mjs

And yep it did not exist in nuxt output node_modules,
image

however it did exist at 0.1.x
image

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