I started working on an old project and tried running netlify dev and it does not error out on the run but get this output in my cli terminal
BlockquotePS C:\Users\yaako\OneDrive\projects\pies-and-fries-3> netlify dev
◈ Netlify Dev ◈
◈ Injecting environment variable values for all scopes
◈ Injected site settings env var: REACT_APP_AIR_TABLE_API_KEY
◈ Injected site settings env var: REACT_APP_CLIENT_ID
◈ Injected site settings env var: REACT_APP_EMAILJS_ID
◈ Injected site settings env var: REACT_APP_GOOGLE_API_KEY
◈ Injected site settings env var: REACT_APP_GOOGLESHEET_ID
◈ Injected site settings env var: REACT_APP_NODE_TEST
◈ Injected site settings env var: REACT_APP_SENDGRID
◈ Injected site settings env var: REACT_APP_STRIPE_SK
◈ Injected .env file env var: SKIP_PREFLIGHT_CHECK
◈ No app server detected. Using simple static server
◈ Running static server from “pies-and-fries-3\dist”
◈ Setting up local development server
◈ Static server listening to 3999
┌─────────────────────────────────────────────────┐
│ │
│ ◈ Server now ready on http://localhost:8888 │
│ │
└─────────────────────────────────────────────────┘
Blockquote
it seems like it cannot find liveserver and instead builds a “static server” and then when the page loads it gives me a 404 page not found issure. the project runs fine when I run npm start though.
This is the name of my site pies-and-fries.
I have been running it locally and I don’t think I have build logs. My issue is when I try to run it with netlify dev it gives me a message “no app server detected. Using simple static server” and then when I try to navigate to the my local host URL that it is supposed I get a 404
Hi @yepstein1, if you are not using the latest version of the Netlify CLI, kindly update it to the latest version and then try again to see if it works.
I suggest you create a new minimal version of your application and then run with Netlify CLI to see if it works. This will help with the debugging. If Netlify CLI works with the minimal version that means the problem is how your main project is setup.
Also try to deploy the project to production. Sometimes the build logs also help with debugging.
@yepstein1, minimal version means you create a fresh project with basic components for example a “Hello World” text.
By doing that you want to know if the problem is happing in your code, the application framework, or hosting.
It helps with debugging your application.