#webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo ERROR

71 messages Β· Page 1 of 1 (latest)

mortal pikeBOT
#

πŸ”Ž This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

πŸ•΅οΈ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

βœ… You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

reef robin
#

@austere iris "npm cache clean--force" doesn't work either.

austere iris
#

So @reef robin try moving the project to somewhere thats not the 'users' folder. Windows has really weird UAC settings on some of the default folders

reef robin
#

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.

austere iris
#

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

reef robin
#

The project is already on the desktop

austere iris
#

Ohhhhhhhhhhh

#

Wait one sec

#

Sorry sorry I misunderstood.

#

Can you navigate to "C:\Users\meka\node_modules"

reef robin
#
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
reef robin
austere iris
#

That is even more odd.

#

lol

#

let me think for a min

reef robin
#

one minute

#

There was.

austere iris
#

Hmmm?

#

There was a folder?

reef robin
#

There is a folder

austere iris
#

Whats in said folder?

reef robin
#

"C:\Users\meka\node_modules"

austere iris
#

You coppied my qoutes didnt you πŸ˜„

reef robin
austere iris
#

Delete it.

reef robin
#

βœ“ Starting...
βœ“ 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

austere iris
#

I mean progress eh?

reef robin
#

(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?

austere iris
#

Great question. Show me your package.json

reef robin
#
{
  "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"
  }
}
austere iris
#

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

reef robin
#

The punycode module is deprecated. Please use a userland alternative instead.

austere iris
#

Yeah, but its not YOUR dependency, which means another module is instead using that as a dep

austere iris
#

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

reef robin
austere iris
#

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.

reef robin
#

Ok thank you very much bro. Then let me deal with it later.

austere iris
#

Np np.

#

good luck!

reef robin
#

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.

austere iris
#

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

reef robin
#

I have no idea how to open it.

austere iris
#

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.

reef robin
#

Ok brother, good night, I wish you a pleasant viewing.

austere iris
# reef robin

Probably your docker container isnt setup properly, gotta test locally, or find out how you can see the logs with the service provicer

lone tinsel
#

@reef robin please mark the answer to this question. Please also don’t delete original questions unless it contains secret credentials

reef robin