Next.js Discord

Discord Forum

EPERM error opening tsconfig.json

Unanswered
vincentmayer1808 posted this in #help-forum
Open in Discord
When I run the npx command with @latest appears a APERM error at opening tsconfig.json.
" Aborting installation.
Unexpected error. Please report it as a bug:
[Error: EPERM: operation not permitted, open 'C:\Users\userName\OneDrive\Escritorio\project\project-frontend\tsconfig.json'] {
errno: -4048,
code: 'EPERM',
syscall: 'open', "
Funny thing, that doesn't happen when I use next 13, does anyone knows why and how to fix it?

5 Replies

Dunker
which command
the bug appear with the command npx create-next-app@latest in the terminal and with ...@13 it's all fine.
Shy Albatross
maybe you still have ts server running that keeps that file open?
or an editor
Dunker
Can you show me full terminal log while running this command