No Working Examples
https://github.com/framesjs/frames.js/tree/main/templates/next-starter-with-examples
node --version→v20.8.0git clone https://github.com/framesjs/frames.js.gitcd frames.jsyarncd templates/next-starter-with-examples/yarn installyarn dev
[Error: ENOENT: no such file or directory, open '/data/code/frames.js/packages/debugger/.next/BUILD_ID']
Same for other tests, like express/
These steps also don't work:
https://framesjs.org/#start-with-framesjs-in-nextjs-in-three-steps
yarn run dev clearly fails as it was never setup
I guess the missing step is: ...in your Next.js app
npm init frames@latest doesn't work:
Need to install the following packages:
[email protected]
Ok to proceed? (y)
┌ Welcome to frames.js
│
◇ Enter the name of your project
│ my-app
│
◇ Choose a template for the project
│ next-starter-with-examples
│
◆ Project successfully scaffolded in /data/code/my-app!
│
◇ Do you want to install the dependencies using yarn?
│ Yes
│
│ Installing the dependencies...
│
■ Failed to install the dependencies, please install them manually.
npm ERR! code 1
npm ERR! path /data/code/
npm ERR! command failed
npm ERR! command sh -c create-frames
@adraffy in case of cloned repository you have to run yarn dev in the root of repository this will run debugger and examples.
In case of npm init frames@latest, do you have yarn installed on your system? It seems you don't have yarn therefore you have to go to the project dir and run npm install instead.