StellateHQ / fuse

Fuse: The fastest way to build and query great APIs with TypeScript

Home Page:https://fusedata.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: fuse directory isn't generated

corydeppen opened this issue · comments

Description

I've noticed the fuse directory isn't being generated after running fuse dev in a fresh project created by create-vite. Once the project was created, I ran npx create-fuse-app, which generated the types directory and _context.ts, schema.graphql, and .vscode/settings.json files, modified tsconfig.json, and started the server, but there wasn't any terminal output showing the codegen had run. Even though the server does start up, the only query field available is _version.

Versions

  • TypeScript Version: 5.3.3
  • Fuse version: 0.11.3
  • Node: 18.16.0

The calls to writeFile are both throwing a similar error, e.g.

ENOENT: no such file or directory, open '/path/to/src/fuse/index.ts'

The files are successfully generated if I manually add the fuse directory and run fuse dev.