#Some weird permission issue

21 messages · Page 1 of 1 (latest)

trim maple
#

This command tsc && rollup --config rollup.config.dev.js outputs this (prob tsc is causing it)

error TS5033: Could not write file 'C:/Users/PC/OneDrive/Documents/project': EISDIR: illegal operation on a directory, open
#

Please help me

frigid night
#

it might be something wrong with your tsconfig.json?

trim maple
#

What is not correct?

frigid night
#

oh i wouldve thought include may have been the issue

#

but it looks normal

trim maple
#

so what's causing it?

frigid night
#

great question

#

TSxxxx is definitely a tsc error

trim maple
#

i read some articles but none of them helped

frigid night
#

maybe project/ needs admin permissions to access?

trim maple
#

how to give admin perms

frigid night
#

but that shouldn't normally happen, especially inside onedrive

trim maple
#

yeah

#

first time seeing this

frigid night
#

right click -> run as admin

#

i wouldn't recommend it though

trim maple
#

run VSCode as admin??

frigid night
#

cmd as admin i guess?

#

but running vscode as admin should make its builtin terminal run as admin too, i think?