-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running example of 'deno task dev' #18667
Comments
Can you repeat the same problem with latest Deno release? |
I'm getting a similar error when I run deno task dev. I was following this video.
|
@Anan7Codes your issue seems to be a problem with filesystem permission on your machine, so it's not strictly related to Deno. Make sure that the user you are running with has read and write access to the whole project directory. |
Cool I'll try it once again though when I ran the command the first time it worked. I couldn't see the webpage on default url localhost:5173. I closed it by pressing ctrl + c and then when I ran deno task dev again, I started receiving this error. |
Try removing the created |
I had this problem using MX Linux. I "solved" it by using Kubuntu. |
Tried deleting node_modules. Getting the same error. |
I get the same error when
|
I get the same error . deno --version |
Edit: when I do npm install in the dinos directory the command deno task dev works, but I was under the impression that deno replaces the normal npm stuff. The tutorial also fails to mention that the npm install step is still necessary. I get the same issue with the example in: When I follow the example I get this output:
this deno version (installed with brew):
|
You need to run |
I already found this out and edited my comment. I was under the impression that deno made npm install obsolete (after all you also don't need to do |
That's correct most frameworks operate on assumption that there will be |
My config (MX Linux 21.3):
Trying to follow the tutorial here:
https://www.youtube.com/watch?v=MDPauM8fZDE
https://github.com/denoland/examples/tree/main/with-vue
I get the error:
My 'deno.json' file:
My 'vite.config.mts' file:
My 'src/main.ts' file
I didn't change anything in those 3 files. They were generated by Deno.
I suppose there is a version issue somewhere, but I've already searched Google (and even tried ChatGPT) for hours, and can't figure out what is causing the issue.
The text was updated successfully, but these errors were encountered: