-
Notifications
You must be signed in to change notification settings - Fork 134
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
Faust App doesn't start when I run 'npm run dev' #1943
Comments
@JDGHHou what does happen at this step? can your provide more information on what you're seeing?/ |
I see this message in the terminal: warn - Your WordPress site is not running on https! Then when I try to access the application in a browser through its url, it comes back with a not found error because the application isn't running. |
@JDGHHou if you wait a few more seconds does it show the app has started on localhost:3000? Can you maybe share your |
@JDGHHou usually you will see output after what you shared. For example:
Possibly you're not waiting long enough for the app to start? |
Hi guys, I too have same issues but not sure where is the issue and why the service is not starting. { |
Given the original report and follow up comments, this seems to be related to Can you try this out with Linux? (here is one possible way to try that) |
Does not work for me even on WSL. It worked for an older project I abandoned (not sure what faust/cli version i was using) Now i can not get it working locally at all. |
Im having the same issue, running npm run dev or npm run build, or even faust dev and faust build directly will output the versions and exit. node v22.9.0
|
Works totally fine on my macbook, only on windows does this issue persist |
Ended up downgrading my node version to 16.15.1 and seems like it doesnt work on the latest node versions on windows. |
I am facing the same issue. The local server never starts
info - This project's possibleTypes schema has been updated! node --version Windows 11 pro npm --version @jasonbahl the exact same app is running on mac without any issue |
I downgraded the node and v21.5.0 worked |
Same issue, trying multiple node versions doesn't seem to fix it for me. |
Any help? please? same issue for me |
Use Node v21.5.0 ✅️ @jk2908 @omrishooshan |
Description
I'm very interested in building headless WP apps, but I can't quite get this to work. I'm following the tutorial below, but when I get to the "npm run dev" step around 39:20 it doesn't start my dev app.
I just see:
warn - Your WordPress site is not running on https!
warn - This is a security concern as all traffic with your secret key is in plain text.
warn - Please make sure your production Faust app runs with a WordPress instance on https!
info - Faust.js v3.0.3
info - Faust.js CLI v3.0.2
https://www.youtube.com/watch?v=CuqUR1CInCg
Steps to reproduce
Follow steps in this tutorial, which are basically:
Add Faust and WGraphQL plugins to WordPress
Install NPM
Register Faust by adding Secret Key and app URL to env.local file
Try to start the app using npm run dev
Additional context
No response
@faustwp/core Version
Faust.js v3.0.3
@faustwp/cli Version
Faust.js CLI v3.0.2
FaustWP Plugin Version
1.3.2
WordPress Version
6.6.1
Additional environment details
Windows 11
Running in a stack provided by LocalWP (localwp.com) on an NGINX server using PHP 8.1.29
Please confirm that you have searched existing issues in the repo.
The text was updated successfully, but these errors were encountered: