framesjs / frames.js

The fastest way to make Frames
https://framesjs.org
MIT License
350 stars 97 forks source link

No Working Examples #504

Open adraffy opened 2 days ago

adraffy commented 2 days ago

https://github.com/framesjs/frames.js/tree/main/templates/next-starter-with-examples

  1. node --versionv20.8.0
  2. git clone https://github.com/framesjs/frames.js.git
  3. cd frames.js
  4. yarn
  5. cd templates/next-starter-with-examples/
  6. yarn install
  7. yarn dev

[Error: ENOENT: no such file or directory, open '/data/code/frames.js/packages/debugger/.next/BUILD_ID']

Same for other tests, like express/

adraffy commented 2 days ago

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:
create-frames@0.1.40
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
michalkvasnicak commented 2 days ago

@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.