You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the given terminal command, I get the error: Could not locate the repository for "https://github.com/wpengine/faustjs/tree/main". Please check that the repository exists and try again.
I also tried these and got the same result: npx create-next-app test-faust-next --use-npm --example https://github.com/wpengine/faustjs/tree/main/ npx create-next-app test-faust-next --use-npm --example https://github.com/wpengine/faustjs/tree/main/examples/next/faustwp-getting-started
Then I tried cloning the faustjs repo locally and running this: npx create-next-app test-faust-next --example faustjs/examples/next/faustwp-getting-started/
and got the following error: Could not locate an example named "faustjs/examples/next/faustwp-getting-started/"
I'm using Node version 21.7.1 on macOS Sonoma 14.1.2. Was initially behind a company VPN but disabling that had no effect.
@char-cole this sounds like a network issue. I just tried it and it's working as expected:
npx create-next-app \ \
-e https://github.com/wpengine/faustjs/tree/main \
--example-path examples/next/faustwp-getting-started \
--use-npm
✔ What is your project named? … my-app
Creating a new Next.js app in /code/temp/test/my-app.
Downloading files from repo https://github.com/wpengine/faustjs/tree/main. This might take a moment.
Installing packages. This might take a couple of minutes.
....
Initialized a git repository.
Success! Created my-app at /code/temp/test/my-app
Inside that directory, you can run several commands:
npm run dev
Starts the development server.
npm run build
Builds the app for production.
npm start
Runs the built app in production mode.
We suggest that you begin by typing:
cd my-app
npm run dev
thanks @mindctrl . I'm on a different network now and it still fails for me. I guess it's possible there's a security app on my computer blocking this operation.
How about using a locally cloned repo, is there a way to do that? I don't have experience with Nextjs either yet so I can't tell what it's looking for in an example
Hey @char-cole, interesting. Yes, you can clone the whole repo and then pull the Getting Started example from the examples/next/faustwp-getting-started directory.
Activity
mindctrl commentedon Mar 12, 2024
@char-cole this sounds like a network issue. I just tried it and it's working as expected:
Can you try again now?
char-cole commentedon Mar 12, 2024
thanks @mindctrl . I'm on a different network now and it still fails for me. I guess it's possible there's a security app on my computer blocking this operation.
How about using a locally cloned repo, is there a way to do that? I don't have experience with Nextjs either yet so I can't tell what it's looking for in an example
mindctrl commentedon Mar 12, 2024
Hey @char-cole, interesting. Yes, you can clone the whole repo and then pull the Getting Started example from the
examples/next/faustwp-getting-starteddirectory.