Cache Remains and Crash the New Project
See original GitHub issueDescribe the bug The new project might constantly crash and the whole site will go blank if you try to interact with it. This is probably caused by the remaining local storage cache. Since you have opened another project and interacted with the sidebar before in the custom preset, it remembers the cache will crash your new project that has the same project name or function name (unsure) if the parameters don’t match.
To Reproduce Steps to reproduce the behavior:
- Go create and run dev for any project using the default project name and function name
- Play with its sidebar in the custom preset
- Close this first project
- Now create another project using the default project name and function name in a different folder
- Play with its sidebar in the custom preset
- See the error
Expected behavior
The site will go completely blank with error messages in the console stating that some of the sidebar values are null
Screenshots
Desktop (please complete the following information):
- OS: MacOS
- Browser: chrome
- Version: 2.0.0-beta.7
Additional context Local Cache Memory Related.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Hyford's Cache Reveals Mysterious Project - Elite Dangerous
Hyford's Cache Reveals Mysterious Project ... A data bank left by a crashed vessel on the moon Colonia 5 e a has reactivated,...
Read more >How to Fix the 'Cached Preview' Error in After Effects
In this article, we're going to talk about how to fix this 'Cached Preview' error in After Effects. If you follow all of...
Read more >Fixed: Google Chrome is waiting for cache issue on Windows 10
Don't continue waiting for the cache issue on Windows 10 to clear on Google. Use these simple troubleshooting solutions to fix the issue...
Read more >[Cache Server] Editor crashes when disabling CacheServer ...
1 Use any big project (I used 2 Gb ones - VikingVillageHDRP), make sure that CacheServer is setup and enabled beforehand · 2...
Read more >Xcode Quick Fix - Clear Cache - Developer Insider
1. Clean the Build. If there is any issue in the project build, then first step is to clean the build, which will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve done some different combinations and surprisingly was unable to recreate the error even with the same function name in different folders… but these are the error stacks
This could really be about the same function name. The function name is used to generate the params’ cache key in localStorage. So you could run in situations where mechanic loads an incompatible version of the cached params into a function that has the same name as the function that cached those values.
If this is the cause of this #140 should fix it 😊