-
Notifications
You must be signed in to change notification settings - Fork 993
Description
What versions & operating system are you using?
System:
OS: macOS 15.6.1
CPU: (14) arm64 Apple M4 Pro
Memory: 7.44 GB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.local/state/fnm_multishells/71178_1757495879218/bin/node
npm: 11.2.0 - ~/.local/state/fnm_multishells/71178_1757495879218/bin/npm
pnpm: 10.10.0 - ~/.local/state/fnm_multishells/71178_1757495879218/bin/pnpm
Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
npmPackages:
wrangler: ^4.35.0 => 4.35.0
Please provide a link to a minimal reproduction
No response
Describe the Bug
Following documentation found at: https://developers.cloudflare.com/workers/framework-guides/web-apps/more-web-frameworks/solid/
I find the following problems:
-
executing the suggested command
npm create cloudflare@latest -- my-solid-app --framework=solid --experimental
produces an error since solid is not a recognized framework when using the experimental flag. Removing the experimental flag solves the issue -
creating a new project and deploying immediately produces the following error
ERROR] Build failed with 3 errors:
✘ [ERROR] Could not resolve
"unenv/node/console"
node_modules/@cloudflare/unenv-preset/dist/runtime/node/console.mjs:9:7:
9 │ } from "unenv/node/console";
╵ ~~~~~~~~~~~~~~~~~~~~
The path "./node/console" is not exported by package "unenv":
node_modules/unenv/package.json:8:13:
8 │ "exports": {
╵ ^
You can mark the path "unenv/node/console" as external to exclude it from
the bundle, which will remove this error and leave the unresolved path in the
bundle.
✘ [ERROR] Could not resolve
"unenv/node/internal/process/hrtime"
node_modules/@cloudflare/unenv-preset/dist/runtime/node/process.mjs:1:38:
1 │ ... hrtime as UnenvHrTime } from
"unenv/node/internal/process/hrtime";
╵
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The path "./node/internal/process/hrtime" is not exported by package
"unenv":
node_modules/unenv/package.json:8:13:
8 │ "exports": {
╵ ^
You can mark the path "unenv/node/internal/process/hrtime" as external to
exclude it from the bundle, which will remove this error and leave the
unresolved path in the bundle.
✘ [ERROR] Could not resolve
"unenv/node/internal/process/process"
node_modules/@cloudflare/unenv-preset/dist/runtime/node/process.mjs:2:40:
2 │ ...ocess as UnenvProcess } from
"unenv/node/internal/process/process";
╵
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The path "./node/internal/process/process" is not exported by package
"unenv":
node_modules/unenv/package.json:8:13:
8 │ "exports": {
╵ ^
You can mark the path "unenv/node/internal/process/process" as external to
exclude it from the bundle, which will remove this error and leave the
unresolved path in the bundle.
Please provide any relevant error logs
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status