Skip to content

jsh: permission denied: vite #187

Answered by noam-honig
noam-honig asked this question in Q&A
Discussion options

You must be logged in to vote

Hi - based on your tip - I downloaded the project to a different directory and it worked.
I decided to compare the directories and found the cause.
In the src/template/default there was a node_modules folder (when I tested that it worked)
With that node_modules the problem is reproduced.

to reproduce
npm create tutorial
cd src/templates/default
npm i
cd ../../../
npm run dev
you'll see the problem

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@AriPerkkio
Comment options

@noam-honig
Comment options

@AriPerkkio
Comment options

Answer selected by AriPerkkio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants