Error: EPERM

default discord avatar
8 months ago

Hi. Anyone know how to resolve this error?

yarn run v1.22.19
$ ts-node server.ts
[14:31:59] INFO (payload): Connected to Mongo server successfully!
[14:31:59] INFO (payload): Starting Payload...
info  - Loaded env from C:\git\2160\2160-Lodge-Bukela-2\.env
event - compiled client and server successfully in 2.9s (163 modules)
wait  - compiling...
uncaughtException [Error: EPERM: operation not permitted, open 'C:\git\2160\2160-Lodge-Bukela-2\.next\trace'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'C:\\git\\2160\\2160-Lodge-Bukela-2\\.next\\trace'
error Command failed with exit code 1.
info Visit for documentation about this command.
PS C:\git\2160\2160-Lodge-Bukela-2> 
Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.