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:
[23040:1122/181852.630:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access denied. (0x5)
[23040:1122/181852.630:ERROR:disk_cache.cc(208)] Unable to create cache
[23040:1122/181852.630:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access denied. (0x5)
[23040:1122/181852.630:ERROR:disk_cache.cc(208)] Unable to create cache
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
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢2d ago
do you know where that cache is? the message is supposed to have a path somewhere
Islandstone
IslandstoneOPā€¢2d ago
No. It seems it's a Chromium source file. Searching for it on the computer yields no results.
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢2d ago
whats the entire output?
Islandstone
IslandstoneOPā€¢2d ago
> eleventy --serve


[21072:1122/201622.609:ERROR:cache_util_win.cc(20)] Unable to move the cache: Ingen tilgang. (0x5)
[21072:1122/201622.609:ERROR:disk_cache.cc(208)] Unable to create cache
PS C:\DATA\Web Design\EXPERIMENTATION\eleventy-test\11ty-blog-site>
> eleventy --serve


[21072:1122/201622.609:ERROR:cache_util_win.cc(20)] Unable to move the cache: Ingen tilgang. (0x5)
[21072:1122/201622.609:ERROR:disk_cache.cc(208)] Unable to create cache
PS C:\DATA\Web Design\EXPERIMENTATION\eleventy-test\11ty-blog-site>
"Ingen tilgang" meaning "access denied".
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢2d ago
yikes! do you have the configuration file?
Islandstone
IslandstoneOPā€¢2d ago
module.exports = function(eleventyConfig) {

return {
dir: {
input: "src",
output: "public"
}
};
}
module.exports = function(eleventyConfig) {

return {
dir: {
input: "src",
output: "public"
}
};
}
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢2d ago
do you have a .cache folder?
Islandstone
IslandstoneOPā€¢2d ago
No
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢2d ago
and there isn't a cache folder anywhere?
clevermissfox
clevermissfoxā€¢2d ago
And make sure your settings are showing hidden field Whoops OPs settings
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢21h ago
oh, yeah, that too
Islandstone
IslandstoneOPā€¢16h ago
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.
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢16h ago
did you checked the permissions of the folder you have the project in?
Islandstone
IslandstoneOPā€¢16h ago
Yes
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢16h ago
did you made sure that everybody has access to it?
Islandstone
IslandstoneOPā€¢16h ago
I just tried running "npm start" from the Windows Terminal instead of the terminal in VS Code. Same result...
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢16h ago
and have you tried to reinstall the modules?
Islandstone
IslandstoneOPā€¢16h ago
node_modules?
Jochem
Jochemā€¢16h ago
Unless I severely misuderstand the project, this has nothing to do with your browser cache
Islandstone
IslandstoneOPā€¢16h ago
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"
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢16h ago
šŸ¤¦ you're listening to an hallucination
Jochem
Jochemā€¢16h ago
you're getting this from NPM though, which has nothing to do with your browser
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢16h ago
and yes
Islandstone
IslandstoneOPā€¢16h ago
Ah. Maybe I should try just deleting all the files, and start from scratch?
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢16h ago
try renaming the folder instead, so you don't lose it
Jochem
Jochemā€¢16h ago
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
Islandstone
IslandstoneOPā€¢16h ago
I see. Usually I don't use it at all, but usually I do less technical things.
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢16h ago
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"
clevermissfox
clevermissfoxā€¢15h ago
This example of a hallucinations is amazing
Islandstone
IslandstoneOPā€¢15h ago
Tried to delete project and try again from scratch. Still stuck.....
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢15h ago
same issue? šŸ¤£ it came to my mind randomly
Islandstone
IslandstoneOPā€¢15h ago
Same issue.
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢14h ago
šŸ¤” are you running the commands in wsl?
Islandstone
IslandstoneOPā€¢14h ago
Windows Subsystem for Linux? No.
į¼”ĻĻ‰Ļ‚
į¼”ĻĻ‰Ļ‚ā€¢14h ago
then i really am out of ideas
Want results from more Discord servers?
Add your server