Code View and Prototyper 404 Errors Loading Project

same here. error persisting for over a month no matter how many resets. mnths of work lost.? please let me know if you fiind a solution

Guter Tipp, das Problem habe ich auch. Sehr hartnäckig.

Hey, I faced a similar issue. After making a few changes, I was able to fix it. I had created a monorepo, and the following steps resolved the problem for me.
Step 1: Update dev.nix
I updated the dev.nix configuration.
I removed the hardcoded enablePreview setting.
I also removed the hardcoded src/app path.
Instead, I added all my projects explicitly, with each project having its own separate parent folder.
Example:

workspace = {
onCreate = {
default.openFiles = ;
};
};

previews = {
enable = true;
previews = {

each project defined separately

};
};
Step 2: Update root package.json
I modified the parent package.json to define workspace-level dev scripts.
Each project added in dev.nix was included here.
All projects were defined under the workspaces field.
Step 3: Separate package.json per project
I created a separate package.json for each project folder.
Code was placed inside (project-name)/app/.
I added all required configuration files:
next.config.js
.gitignore
tailwind.config.js
tsconfig.json etc
Each project’s package.json had its own dev script with a defined port.
Step 4: Update Node version
I changed the Node.js version in dev.nix from Node 20 to Node 22.
Step 5: Rebuild environment
I rebuilt the entire development environment.
Important Note
The Firebase dev server URL usually includes a default port like 9000-
or 6000-*.
You must replace that port with the port defined in your project’s dev script. After doing this, the app works correctly.