nstfkc / gemi

Batteries included full-stack MVC web framework
MIT License
82 stars 3 forks source link

bun: command not found: open #2

Open draylegend opened 4 months ago

draylegend commented 4 months ago
dl@dl:~$ bun upgrade
Bun v1.1.18 is out! You're on v1.1.17
[4.63s] Upgraded.

Welcome to Bun v1.1.18!

What's new in Bun v1.1.18:

    https://bun.sh/blog/release-notes/bun-v1.1.18

Report any bugs:

    https://github.com/oven-sh/bun/issues

Commit log:

    https://github.com/oven-sh/bun/compare/bun-v1.1.17...bun-v1.1.18
dl@dl:~$ bunx create-gemi-app
✔ Enter project name: … gemi
Extracting to /home/dl/gemi
Downloading template...
Installing dependencies...
bun install v1.1.18 (5a0b9352)
Resolving dependencies
Resolved, downloaded and extracted [2714]
warn: incorrect peer dependency "eslint@8.45.0"

warn: incorrect peer dependency "eslint@8.45.0"

warn: incorrect peer dependency "eslint@8.45.0"

warn: incorrect peer dependency "eslint@8.45.0"
Saved lockfile

+ @types/react@18.3.3
+ @types/react-dom@18.3.0
+ @typescript-eslint/eslint-plugin@7.16.0
+ @typescript-eslint/parser@7.16.0
+ @vitejs/plugin-react-swc@3.7.0
+ autoprefixer@10.4.19
+ eslint@8.45.0 (v9.6.0 available)
+ eslint-plugin-react@7.34.3
+ postcss@8.4.39
+ prettier@3.3.2
+ prisma@5.16.2
+ tailwindcss@3.4.4
+ typescript@5.5.3
+ vite@5.3.3
+ vitest@1.6.0 (v2.0.2 available)
+ @libsql/client@0.6.2 (v0.7.0 available)
+ @prisma/adapter-libsql@5.16.2
+ @prisma/client@5.14.0 (v5.16.2 available)
+ @react-email/components@0.0.19 (v0.0.21 available)
+ gemi@0.4.9
+ react@19.0.0-rc-dfd30974ab-20240613
+ react-dom@19.0.0-rc-dfd30974ab-20240613
+ sharp@0.33.4

695 packages installed [37.29s]
Initialized empty Git repository in /home/dl/gemi/.git/
Happy coding
visit https://github.com/nstfkc/gemi for documentation

run cd `gemi` and run `bun dev` to start the development server
dl@dl:~$ cd gemi
dl@dl:~/gemi$ bun dev
$ gemi dev
Starting dev server...
Server started on http://localhost:5173
bun: command not found: open
 7 |   class ShellError extends Error {
 8 |     #output = @undefined;
 9 |     info;
10 |     exitCode;
11 |     stdout;
12 |     constructor() {
                    ^
ShellError: Failed with exit code 1
 info: {
  "exitCode": 1,
  "stderr": "bun: command not found: open\n",
  "stdout": ""
}

      at new ShellError (:12:16)
      at new ShellPromise (:72:16)
      at BunShell (:187:35)
      at /home/dl/gemi/node_modules/gemi/dist/bin/index.js:9081:10
note: missing sourcemaps for /home/dl/gemi/node_modules/gemi/dist/bin/index.js
note: consider bundling with '--sourcemap' to get unminified traces

Bun v1.1.18 (Linux x64)
error: script "dev" exited with code 1
nstfkc commented 4 months ago

Thank you for reporting, unfortunately I only had a change to test this on macOS, which OS you are using?

draylegend commented 4 months ago

@nstfkc

debian 12 bun 1.1.18