webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo ERROR
Answered
MeKa posted this in #help-forum
Original message was deleted.
70 Replies
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
@Jboncz "npm cache clean--force" doesn't work either.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
So @MeKa try moving the project to somewhere thats not the 'users' folder. Windows has really weird UAC settings on some of the default folders
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
I don't think it could be related to this. Many of my projects are "on the desktop" and there is no problem. "Next.js 14.2.2" also causes such a problem.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Desktop is fine. Put it on the desktop
users folder is special in windows
I did it on 14.2.2 with zero issues.
This is a windows issue im 99% certain
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
The project is already on the desktop
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Ohhhhhhhhhhh
Wait one sec
Sorry sorry I misunderstood.
Can you navigate to "C:\Users\meka\node_modules"
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
meka@MeKaPC MINGW64 ~/Desktop/mekasis
$ npm cache clean --force
npm WARN using --force Recommended protections disabled.
meka@MeKaPC MINGW64 ~/Desktop/mekasis
$ npm cache verify
Cache verified and compressed (~\AppData\Local\npm-cache\_cacache)
Content verified: 822 (499340508 bytes)
Content garbage-collected: 2 (756106 bytes)
Index entries: 822
Finished in 14.318s
There is no such folder.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
That is even more odd.
lol
let me think for a min
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
one minute
There was.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Hmmm?
There was a folder?
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
There is a folder
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Whats in said folder?
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
"C:\Users\meka\node_modules"
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
You coppied my qoutes didnt you π
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
![Image](https://cdn.discordapp.com/attachments/1231749581675692042/1231752126431100948/image.png?ex=6638198f&is=6625a48f&hm=3976c6bfc2a32dbed238347909a5e5c3c41da85098eff6c319a28a3053148b35&)
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Delete it.
Answer
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
β Starting...
β Ready in 3.8s
β Compiling / ...
(node:16704) [DEP0040] DeprecationWarning: The
(Use
β Compiled / in 8s (502 modules)
β Compiled in 1308ms (240 modules)
GET / 200 in 9381ms
β Ready in 3.8s
β Compiling / ...
(node:16704) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)β Compiled / in 8s (502 modules)
β Compiled in 1308ms (240 modules)
GET / 200 in 9381ms
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
I mean progress eh?
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
(node:16704) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
So how can I fix this error?
(Use node --trace-deprecation ... to show where the warning was created)
So how can I fix this error?
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Great question. Show me your package.json
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
It works. There's no problem.
{
"name": "mekasis",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-react": "^0.372.0",
"next": "14.2.2",
"next-auth": "^5.0.0-beta.16",
"next-themes": "^0.3.0",
"nodemailer": "^6.9.13",
"react": "^18",
"react-dom": "^18",
"react-icons": "^5.1.0",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.22.5"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.2",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
So its more than just a vanilla install π
You need to find out what dependency has a dependency on punycode
Im sure theres an easy way to do it, but I would check the package.json of each module inside of your node_modules folder
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
The
punycode
module is deprecated. Please use a userland alternative instead.![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Yeah, but its not YOUR dependency, which means another module is instead using that as a dep
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
yes
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
You cant really fix that per say
Well I mean you can, but I wouldnt recommend it lol find out which package is using it from that list
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
It takes a lot of time π
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Wellllllll one sec
Get-ChildItem -Path "C:\Users\Jboncz\Downloads\testapp\my-app" -Filter "package.json" | ForEach-Object {
$filePath = $_.FullName
$fileContent = Get-Content $filePath -Raw
if ($fileContent -match "punycode") {
Write-Host "Phrase found in $filePath"
}
}
You can run that in powershell
however, I would never suggest someone run something that they dont know what it does.
BUT that will find what files have the word "punycode" in it
At your descretion you can use that to find what package.json has the dep
Obviously you have to change the path π
but even if you find it you cant really fix it, but you can either find an alternative, or you can check their github and see if others are posting about it and see if the developer is aware.
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
Ok thank you very much bro. Then let me deal with it later.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Np np.
good luck!
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
I have a problem with a different project of mine. I uploaded it to the server, but the "/panel" path does not work. If you know, you can try connecting to my computer. I upload the project to "Plesk" via "Docker".
It works very well on "localhost", but when I upload it to the server, I encounter an error.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Im not going to connect to your computer π
Sorry.
you can open another help forum with the error and I can try to take a look
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
The virus is transmitted π
I have no idea how to open it.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
I mean it isnt even that, I would connect in a isolated vm, just not goiong to do it. Im watching movies. π
Open what? The error?
Idk what plesk is in any capacity. You should only test in a docker container on a local resource before deploying it, it can be troublesome to get the data after. Depends on the service provider.
Im going to step away for some dinner tho.
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
![Image](https://cdn.discordapp.com/attachments/1231749581675692042/1231757473904328814/image.png?ex=66381e8a&is=6625a98a&hm=75f3051b709fa4828088013eabf901e1b6fdca98184f1f7af49487298c0960dc&)
Ok brother, good night, I wish you a pleasant viewing.
![Avatar](https://cdn.discordapp.com/avatars/100490131332431872/c51d94ed41e06891a5bf6be49d8f6bd2.webp?size=256)
Jboncz
Probably your docker container isnt setup properly, gotta test locally, or find out how you can see the logs with the service provicer
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
OK bro thanks.
![Avatar](https://cdn.discordapp.com/avatars/484037068239142956/f386ac21405ce3442e0f3598223e1cb3.webp?size=256)
joulev
@MeKa please mark the answer to this question. Please also donβt delete original questions unless it contains secret credentials
![Avatar](https://cdn.discordapp.com/avatars/562374115655417876/8aedea4b17f33302f1c65e0d6e34ea72.webp?size=256)
MeKa
I completely deleted the "node_modules" folder in the "C:\Users*USER*\node_modules" folder and the problem was solved. Because the folder there did not represent any project.