Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Working Examples #504

Open
adraffy opened this issue Oct 8, 2024 · 2 comments
Open

No Working Examples #504

adraffy opened this issue Oct 8, 2024 · 2 comments

Comments

@adraffy
Copy link

adraffy commented Oct 8, 2024

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
Copy link
Author

adraffy commented Oct 8, 2024

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 adraffy changed the title next-nonstarter-with-examples No Working Examples Oct 8, 2024
@michalkvasnicak
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants