Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building error #52

Open
Joyance-tsui opened this issue Nov 10, 2024 · 1 comment
Open

building error #52

Joyance-tsui opened this issue Nov 10, 2024 · 1 comment

Comments

@Joyance-tsui
Copy link

✘ [ERROR] Build failed with 8 errors:

✘ [ERROR] Could not resolve "mime/lite.js"

  src/handlers/handleRead.js:4:24:
    4 │ import { getType } from "mime/lite.js"
      ╵                         ~~~~~~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "mime" here because it's not listed as a

dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "mime/lite.js" as external to exclude it from the bundle, which will

remove this error.

✘ [ERROR] Could not resolve "unified"

  src/pages/markdown.js:1:24:
    1 │ import { unified } from "unified"
      ╵                         ~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "unified" here because it's not listed as a

dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "unified" as external to exclude it from the bundle, which will remove

this error.

✘ [ERROR] Could not resolve "remark-parse"

  src/pages/markdown.js:2:24:
    2 │ import remarkParse from "remark-parse"
      ╵                         ~~~~~~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "remark-parse" here because it's not listed as a

dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "remark-parse" as external to exclude it from the bundle, which will

remove this error.

✘ [ERROR] Could not resolve "remark-gfm"

  src/pages/markdown.js:3:22:
    3 │ import remarkGfm from "remark-gfm"
      ╵                       ~~~~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "remark-gfm" here because it's not listed as a

dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "remark-gfm" as external to exclude it from the bundle, which will remove

this error.

✘ [ERROR] Could not resolve "remark-rehype"

  src/pages/markdown.js:4:25:
    4 │ import remarkRehype from "remark-rehype"
      ╵                          ~~~~~~~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "remark-rehype" here because it's not listed as

a dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "remark-rehype" as external to exclude it from the bundle, which will

remove this error.

✘ [ERROR] Could not resolve "rehype-stringify"

  src/pages/markdown.js:5:28:
    5 │ import rehypeStringify from "rehype-stringify"
      ╵                             ~~~~~~~~~~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "rehype-stringify" here because it's not listed

as a dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "rehype-stringify" as external to exclude it from the bundle, which will

remove this error.

✘ [ERROR] Could not resolve "mdast-util-to-string"

  src/pages/markdown.js:6:25:
    6 │ import { toString } from "mdast-util-to-string"
      ╵                          ~~~~~~~~~~~~~~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "mdast-util-to-string" here because it's not

listed as a dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "mdast-util-to-string" as external to exclude it from the bundle, which

will remove this error.

✘ [ERROR] Could not resolve "vfile-message"

  src/pages/markdown.js:8:29:
    8 │ import { VFileMessage } from "vfile-message"
      ╵                              ~~~~~~~~~~~~~~~

The Yarn Plug'n'Play manifest forbids importing "vfile-message" here because it's not listed as

a dependency of this package:

  ../../.pnp.cjs:37:31:
    37 │         "packageDependencies": [\
       ╵                                ~~

You can mark the path "vfile-message" as external to exclude it from the bundle, which will

remove this error.

@SharzyL
Copy link
Owner

SharzyL commented Nov 10, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants