Open adraffy opened 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
@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.
https://github.com/framesjs/frames.js/tree/main/templates/next-starter-with-examples
node --version
→v20.8.0
git clone https://github.com/framesjs/frames.js.git
cd frames.js
yarn
cd templates/next-starter-with-examples/
yarn install
yarn dev
Same for other tests, like
express/