Skip to content

using nf standalone command not working #53

@MartinFillon

Description

@MartinFillon

Which command is this bug report for?

build

Issue description

nf start
NanoForge Run

Running Server...
Running Client...
[2026-02-09T09:07:18.653Z] (Client) ERROR - Error: Bun's postinstall script was not run.
[2026-02-09T09:07:18.653Z] (Client) ERROR - 
[2026-02-09T09:07:18.653Z] (Client) ERROR - This occurs when using --ignore-scripts during installation, or when using a
[2026-02-09T09:07:18.653Z] (Client) ERROR - package manager like pnpm that does not run postinstall scripts by default.
[2026-02-09T09:07:18.653Z] (Client) ERROR - 
[2026-02-09T09:07:18.654Z] (Client) ERROR - To fix this, run the postinstall script manually:
[2026-02-09T09:07:18.654Z] (Client) ERROR -   cd node_modules/bun && node install.js
[2026-02-09T09:07:18.654Z] (Client) ERROR - 
[2026-02-09T09:07:18.654Z] (Client) ERROR - Or reinstall bun without the --ignore-scripts flag.

Failed to execute command: bun run --silent start
🙀  Run of Client failed !
[2026-02-09T09:07:18.673Z] (Server) ERROR - node:fs:1709
[2026-02-09T09:07:18.673Z] (Server) ERROR -   const stats = binding.stat(
[2026-02-09T09:07:18.673Z] (Server) ERROR -                         ^
[2026-02-09T09:07:18.673Z] (Server) ERROR - 
[2026-02-09T09:07:18.673Z] (Server) ERROR - Error: ENOENT: no such file or directory, stat '/home/fexkoser/dev/nanoforge/test-separated/test-app/.nanoforge/server'
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at Module.statSync (node:fs:1709:25)
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at addPath (file:///home/fexkoser/dev/nanoforge/test-separated/test-app/node_modules/.pnpm/@nanoforge-dev+loader-server@1.1.0/node_modules/@nanoforge-dev/loader-server/dist/server.js:26:10)
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at getFiles (file:///home/fexkoser/dev/nanoforge/test-separated/test-app/node_modules/.pnpm/@nanoforge-dev+loader-server@1.1.0/node_modules/@nanoforge-dev/loader-server/dist/server.js:22:3)
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at bootstrap (file:///home/fexkoser/dev/nanoforge/test-separated/test-app/node_modules/.pnpm/@nanoforge-dev+loader-server@1.1.0/node_modules/@nanoforge-dev/loader-server/dist/server.js:52:17)
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at file:///home/fexkoser/dev/nanoforge/test-separated/test-app/node_modules/.pnpm/@nanoforge-dev+loader-server@1.1.0/node_modules/@nanoforge-dev/loader-server/dist/server.js:78:1
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at ModuleJob.run (node:internal/modules/esm/module_job:430:25)
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:655:26)
[2026-02-09T09:07:18.673Z] (Server) ERROR -     at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
[2026-02-09T09:07:18.673Z] (Server) ERROR -   errno: -2,
[2026-02-09T09:07:18.673Z] (Server) ERROR -   code: 'ENOENT',
[2026-02-09T09:07:18.673Z] (Server) ERROR -   syscall: 'stat',
[2026-02-09T09:07:18.673Z] (Server) ERROR -   path: '/home/fexkoser/dev/nanoforge/test-separated/test-app/.nanoforge/server'
[2026-02-09T09:07:18.673Z] (Server) ERROR - }
[2026-02-09T09:07:18.673Z] (Server) ERROR - 
[2026-02-09T09:07:18.673Z] (Server) ERROR - Node.js v25.6.0

Failed to execute command: bun run --silent start
🙀  Run of Server failed !```

### Code sample

```typescript

Versions

@nanoforge-dev/cli 1.0.0

Issue priority

High (immediate attention needed)

I have tested this issue on a development release

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcommand:buildRelated to build command

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions