You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the guide "Build an app with SolidStart and Bun", the command "bunx solid-start dev" triggers an error. The alternative command "bun run dev" is working. My version of Bun is 1.2.0
Here are the steps I've followed within the terminal to reproduce it:
➜ Code: bun create solid bun-solidjs-app
┌
Create-Solid v0.5.14
│
◇ Is this a SolidStart project?
│ Yes
│
◇ Which template would you like to use?
│ bare
│
◇ Use Typescript?
│ No
│
◇ Project successfully created! 🎉
│
◇ To get started, run: ─╮
│ │
│ cd bun-solidjs-app │
│ bun install │
│ bun dev │
│ │
├────────────────────────╯
➜ Code: cd bun-solidjs-app
➜ bun-solidjs-app: bun install
bun install v1.2.0 (b0c5a76)
Blocked 1 postinstall. Run bun pm untrusted for details.
➜ bun-solidjs-app: bunx solid-start dev
solid-start dev
version 0.3.11
node:internal/modules/esm/resolve:844
throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'solid-start-node' imported from /private/tmp/bunx-501-solid-start@latest/node_modules/solid-start/bin.cjs
at packageResolve (node:internal/modules/esm/resolve:844:9)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
at defaultResolve (node:internal/modules/esm/resolve:1131:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
at ModuleLoader.import (node:internal/modules/esm/loader:322:34)
at importModuleDynamically (node:internal/modules/cjs/loader:1263:33)
at importModuleDynamicallyWrapper (node:internal/vm/module:430:21)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:207:14) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v21.6.2
➜ bun-solidjs-app: bun run dev
$ vinxi dev
vinxi v0.4.3
vinxi starting dev server
WARN No valid compatibility date is specified. nitro 5:44:23 PM
ℹ Using 2024-04-03 as fallback. nitro 5:44:23 PM
Please specify compatibility date to avoid unwanted behavior changes:
- Add compatibilityDate: '2025-01-27' to the config file.
- Or set COMPATIBILITY_DATE=2025-01-27 environment variable.
[get-port] Unable to find an available port (tried 3000 on host "localhost"). Using alternative port 3002.
What is the type of issue?
Example code is not working
What is the issue?
Hi,
When following the guide "Build an app with SolidStart and Bun", the command "bunx solid-start dev" triggers an error. The alternative command "bun run dev" is working. My version of Bun is 1.2.0
Here are the steps I've followed within the terminal to reproduce it:
➜ Code: bun create solid bun-solidjs-app
┌
Create-Solid v0.5.14
│
◇ Is this a SolidStart project?
│ Yes
│
◇ Which template would you like to use?
│ bare
│
◇ Use Typescript?
│ No
│
◇ Project successfully created! 🎉
│
◇ To get started, run: ─╮
│ │
│ cd bun-solidjs-app │
│ bun install │
│ bun dev │
│ │
├────────────────────────╯
➜ Code: cd bun-solidjs-app
➜ bun-solidjs-app: bun install
bun install v1.2.0 (b0c5a76)
466 packages installed [7.01s]
Blocked 1 postinstall. Run
bun pm untrusted
for details.➜ bun-solidjs-app: bunx solid-start dev
solid-start dev
version 0.3.11
node:internal/modules/esm/resolve:844
throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'solid-start-node' imported from /private/tmp/bunx-501-solid-start@latest/node_modules/solid-start/bin.cjs
at packageResolve (node:internal/modules/esm/resolve:844:9)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
at defaultResolve (node:internal/modules/esm/resolve:1131:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
at ModuleLoader.import (node:internal/modules/esm/loader:322:34)
at importModuleDynamically (node:internal/modules/cjs/loader:1263:33)
at importModuleDynamicallyWrapper (node:internal/vm/module:430:21)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:207:14) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v21.6.2
➜ bun-solidjs-app: bun run dev
$ vinxi dev
vinxi v0.4.3
vinxi starting dev server
WARN No valid compatibility date is specified. nitro 5:44:23 PM
ℹ Using 2024-04-03 as fallback. nitro 5:44:23 PM
Please specify compatibility date to avoid unwanted behavior changes:
- Add compatibilityDate: '2025-01-27' to the config file.
- Or set COMPATIBILITY_DATE=2025-01-27 environment variable.
[get-port] Unable to find an available port (tried 3000 on host "localhost"). Using alternative port 3002.
➜ Local: http://localhost:3002/
➜ Network: use --host to expose
^C%
Where did you find it?
No response
The text was updated successfully, but these errors were encountered: