Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

The solid example attempts to report an error #51

Open
2 tasks done
sbfkcel opened this issue Dec 2, 2022 · 0 comments
Open
2 tasks done

The solid example attempts to report an error #51

sbfkcel opened this issue Dec 2, 2022 · 0 comments

Comments

@sbfkcel
Copy link

sbfkcel commented Dec 2, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

3.x

Plugin version

Node.js version

v16.15.0

Operating system

macOS

Operating system version (i.e. 20.04, 11.3, 10)

13

Description

~/Downloads/fastify-dx-main/starters/solid [16:53:09]

➜ npm run dev

dev
node server.js --dev

node:internal/process/esm_loader:94
internalBinding('errors').triggerUncaughtException(
^

TypeError: globalThis.Request is not a constructor
at file:///Users/me/Downloads/fastify-dx-main/starters/solid/node_modules/ky/distribution/core/constants.js:6:26
at file:///Users/me/Downloads/fastify-dx-main/starters/solid/node_modules/ky/distribution/core/constants.js:17:3
at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
at async nodeImport (file:///Users/me/Downloads/fastify-dx-main/starters/solid/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:53137:21)
at async eval (/context.js:3:44)
at async instantiateModule (file:///Users/me/Downloads/fastify-dx-main/starters/solid/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:53058:9)

Steps to Reproduce

solid 示例目录

npm install

npm run dev

Expected Behavior

No response

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

No branches or pull requests

1 participant