No Project Set Error (NO_PROJECT_SET)
This is a local development error that occurs when the Zuplo development server cannot load or find a valid project.
Common causes
- Build failure - The project fails to build, preventing the local development server from loading it. Check the terminal output for build errors.
- Invalid project structure - The project is missing required files such as
routes.oas.jsonorpackage.json. - Wrong working directory - The development server is started from a directory that does not contain a Zuplo project.
- Corrupted dependencies - The
node_modulesdirectory is missing or contains corrupted packages.
Steps to fix
- Verify the terminal output for build errors and fix any reported issues.
- Confirm the project directory contains the required Zuplo project files
(
routes.oas.json,package.json, and amodulesdirectory). - Ensure the development server starts from the root of the Zuplo project directory.
- Delete the
node_modulesdirectory and runnpm installto reinstall dependencies. - Restart the local development server after making changes.
For additional troubleshooting help with local development, see Local Development Troubleshooting.
Related resources
Last modified on