Cache error message
I want to follow along Kevin's YouTube video: "Turn static HTML/CSS into a blog with CMS using the JAMStack". When I run the "npm start" command, I get the following error messages:
I have tried clearing the browser cache, running Chrome as Administrator, and deleting the Cache folder in the Chrome folder, but nothing works. Please help - this is why I prefer the Front of the Front-End! š
36 Replies
do you know where that cache is?
the message is supposed to have a path somewhere
No. It seems it's a Chromium source file. Searching for it on the computer yields no results.
whats the entire output?
"Ingen tilgang" meaning "access denied".
yikes!
do you have the configuration file?
do you have a .cache folder?
No
and there isn't a cache folder anywhere?
And make sure your settings are showing hidden field
Whoops OPs settings
oh, yeah, that too
There is a cache folder for Google Chrome, where I have deleted most of the files. I have also checked the Permissions for this folder.
Yup, hidden elements are shown in File Explorer.
did you checked the permissions of the folder you have the project in?
Yes
did you made sure that everybody has access to it?
I just tried running "npm start" from the Windows Terminal instead of the terminal in VS Code. Same result...
and have you tried to reinstall the modules?
node_modules?
Unless I severely misuderstand the project, this has nothing to do with your browser cache
Chat GTP says it is..."The error message you're encountering indicates that Google Chrome is unable to move the cache files, and the specific error code 0x5 corresponds to an "Access Denied" issue"
š¤¦
you're listening to an hallucination
you're getting this from NPM though, which has nothing to do with your browser
and yes
Ah. Maybe I should try just deleting all the files, and start from scratch?
try renaming the folder instead, so you don't lose it
To expand on what Epic said here: ChatGPT can be an occasionally useful tool to get a quick answer to a problem, but you absolutely positively have to remember that ChatGPT isn't intelligent. It doesn't understand anything. It's hopped up predictive text that's just really, really good at stringing together random words so that it looks like it knows what it's talking about.
I've been using it for a bunch of programming and non-programming stuff, but it very frequently is just play wrong, and how you ask it questions can very much influence what it answers. If you mention chrome in your question for example, you'll get an answer that's tailored to chrome.
It's a tool, but it's a very, very unreliable tool
And if you're astonished that npm and chrome have nothing to do with each other, you definitely don't have the background needed to judge whether ChatGPT is hallucinating or telling the truth, so I'd recommend using it as little as possible while you're trying to learn something until you can tell what it is and isn't good at
I see. Usually I don't use it at all, but usually I do less technical things.
it gave you an almost correct answer, except google chrome doesn't move cache files and has nothing to do with npm
what it said is the equivalent of "turnips meaty flavour is a great replacement for flour in a cake"
This example of a hallucinations is amazing
Tried to delete project and try again from scratch. Still stuck.....
same issue?
š¤£ it came to my mind randomly
Same issue.
š¤
are you running the commands in wsl?
Windows Subsystem for Linux? No.
then i really am out of ideas