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

Error as soon as loading http://localhost:3000 #12

Open
distributev opened this issue Jan 8, 2025 · 0 comments
Open

Error as soon as loading http://localhost:3000 #12

distributev opened this issue Jan 8, 2025 · 0 comments

Comments

@distributev
Copy link

distributev commented Jan 8, 2025

Hello,

I did

cd opendocs
pnpm install
pnpm dev

and as soon as I load http://localhost:3000 I get "Internal server error" and on the console I see

cache bypass, force executing 20f01e3c1f658d2a
──────────────────────│pm\@[email protected]_@[email protected]_@[email protected]_@web#dev»│epdg27xfe\node_modules\@opentelemetry\sdk-trace-node\package.json' imported from C:\Project                      │-node_modules\.pnpm\@[email protected]                      │.5_@[email protected]_@opente_rxt66b24dctsgceamepdg27xfe\node_modules\@effect-ts\otel                      │dex.mjs
                      │Did you mean to import @[email protected]_@[email protected]/node_m                      │dk-trace-node/build/src/index.js?
                      │    at legacyMainResolve (node:internal/modules/esm/resolve:214:26)
                      │    at packageResolve (node:internal/modules/esm/resolve:840:14)
                      │    at moduleResolve (node:internal/modules/esm/resolve:910:20)
                      │    at defaultResolve (node:internal/modules/esm/resolve:1130:11)
                      │    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
                      │    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
                      │    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
                      │    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
                      │    at link (node:internal/modules/esm/module_job:84:36) {
                      │  code: 'ERR_MODULE_NOT_FOUND'

Seems to be related with

contentlayerdev/contentlayer#506

contentlayerdev/contentlayer#564

contentlayerdev/contentlayer#457

Seeing the following logs when I do

pnpm install

apps/web
└─┬ contentlayer2 0.5.3
  └─┬ @contentlayer2/core 0.5.3
    └─┬ @contentlayer2/utils 0.5.3
      └─┬ @opentelemetry/exporter-trace-otlp-grpc 0.51.1
        ├─┬ @opentelemetry/core 1.24.1
        │ └── ✕ unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
        ├─┬ @opentelemetry/sdk-trace-base 1.24.1
        │ ├── ✕ unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
        │ └─┬ @opentelemetry/resources 1.24.1
        │   └── ✕ unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
        └─┬ @opentelemetry/otlp-transformer 0.51.1
          ├── ✕ unmet peer @opentelemetry/api@">=1.3.0 <1.9.0": found 1.9.0
          ├─┬ @opentelemetry/sdk-logs 0.51.1
          │ └── ✕ unmet peer @opentelemetry/api@">=1.4.0 <1.9.0": found 1.9.0
          └─┬ @opentelemetry/sdk-metrics 1.24.1
            └── ✕ unmet peer @opentelemetry/api@">=1.3.0 <1.9.0": found 1.9.0

packages/eslint-config
└─┬ eslint-plugin-jest 27.6.0
  └── ✕ unmet peer @typescript-eslint/eslint-plugin@"^5.0.0 || ^6.0.0": found 7.1.0

This is happening on Windows, if it makes any difference.

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