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
dev not working #49
Comments
Thank you for this report! I think we will need to modify the README to include this manual build step so you get the generated server files. It still is perplexing to me that after building manually you're seeing files changed but the website isn't reflecting those changes 🤔. That step I cannot reproduce myself, it still automatically reloads and shows the changes. Do they appear for you at all with a manual refresh of the browser at all? Could you also share your node & package manager version? |
node: 16.14.4 Thanks for your quick reply. |
@RufusK That's also very interesting that it isn't running. What version of the netlify-cli are you using? |
Similar @kasperstorgaard what version of the Netlify CLI are you using? |
I actually got it working, not sure what the issue was, could have been my own mistake. |
when i run netlify -v: |
@RufusK I notice your version is at 6.7.1 and latest is at 10.4.0 (https://github.com/netlify/cli). Could you try updating and see what the impact is? |
Howdy @leofmoura I think your issue may be separate so I've opened up #50 to further that dialog there. |
I think we're coming to a head with this problem and gonna try to work on this with #56 |
This should be complete now that #56 is merged. You will be able to use |
I love the idea of this template. Deployment on netlify and integration with supabase worked like a charm, but I can't get the dev environment to work.
After following all the steps in the readme (creating the project with the "deploy to netlify" button), running "npm run dev" only gives me "Function not found..." in http://localhost:3000/
Logs look like this:
I havent changed any files, the only generated file is the .netlify/state.json
If I run npm run build it creates files in public/build and .netlify/functions-internal/server.js.
If I then run npm run dev, it serves the site correctly but after changing files it doesn't reflect those changes but apparently still serves the files generated in npm run build.
The text was updated successfully, but these errors were encountered: