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

[Docs] Build failed #1

Open
Sun-ZhenXing opened this issue Oct 9, 2023 · 0 comments
Open

[Docs] Build failed #1

Sun-ZhenXing opened this issue Oct 9, 2023 · 0 comments

Comments

@Sun-ZhenXing
Copy link

Ref: #action.

I tried docs:build locally using yarn.lock and that also failed. But docs:dev works fine.

yarn docs:build
(node:11092) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

  vitepress v1.0.0-beta.3

1.0.0-beta.3 0d4fd92
⠴ building client + server bundles...
The language 'lambda-defs' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x2)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x3)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x4)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x5)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x6)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x7)

The language 'lambda-defs' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x2)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x3)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x4)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x5)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x6)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x7)
✓ building client + server bundles...
build error:
TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected undefined or a fully resolved URL string to be returned for the "responseURL" from the "node:internal/modules/esm/load 'load'" function but got instance of String.
    at new NodeError (node:internal/errors:399:5)
    at ESMLoader.load (node:internal/modules/esm/loader:636:13)
    at async ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:11)

D:\workspace\repo\lamcalc\web>yarn docs:build
(node:28804) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

  vitepress v1.0.0-beta.3

1.0.0-beta.3 0d4fd92
⠴ building client + server bundles...
The language 'lambda-defs' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x2)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x3)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x4)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x5)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x6)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x7)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x8)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x9)

The language 'lambda-defs' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting.

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x2)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x3)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x4)

The language 'lambda-interactive' is not loaded, falling back to 'txt' for syntax highlighting. (x5)
✓ building client + server bundles...
build error:
TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected undefined or a fully resolved URL string to be returned for the "responseURL" from the "node:internal/modules/esm/load 'load'" function but got instance of String.
    at new NodeError (node:internal/errors:399:5)
    at ESMLoader.load (node:internal/modules/esm/loader:636:13)
    at async ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:11)

PS:

  • OS: Windows 11
  • Node.js: v18.14.0
  • yarn: 3.6.4
  • corepack: 0.15.3
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

1 participant