#i'm getting error when i try to run github clone project
68 messages · Page 1 of 1 (latest)
guys i don't know anything about nuxt almostly
and web programming but i have programming background in some other languages
me and my friend have an homework about web automation app
and my friend made first commit of our project
but the thing is i can't run it
https://github.com/aydinkasimoglu/restaurant-automation here our link
i tried npm run dev after npm install
but it doesn't work properly
Nuxt 3.3.2 with Nitro 2.3.2 01:01:25
01:01:26
> Local: http://localhost:3000/
> Network: http://192.168.1.30:3000/ 01:01:25
01:01:28
ERROR Failed to load url /@fs/C:/Users/kisik/node_modules/h3/dist/index.mjs?v=3146e78d (resolved id: C:/Users/kisik/node_modules/h3/dist/index.mjs?v=3146e78d) in C:/Users/kisik/node_modules/nuxt/dist/app/composables/router.js. Does the file exist? (x2)
i Vite client warmed up in 546ms 01:01:28
√ Nitro built in 500 ms ```
i'm getting this kind of error
our nuxt version are same :/
yess
So then delete node modules, package-lock & .nuxt folder and run npm install again
i delete package-lock.json
also
ok
thanks for helping btw
it's installing it
????
it worked
somehow
Yes because you prob had to remove .nuxt folder
Cannot find type definition file for 'node'.
The file is in the program because:
Entry point of type library 'node' specified in compilerOptionsts
tsconfig.json
Restart typescript server
ok now it's ok
but
i can't see the project
instead
it's welcome to nuxt page
even tho i delete app vue
wait a minute
You need <NuxtPage /> in your app. Vue template
ok i'm still getting same errors i did exactly what you said 🥲
1- cloned project folder
2- npm install
3- npm run dev
got some error messages
then delete nuxt nodemodules and packagelocks
npm install and npm run dev again
but errors :/
ERROR The request url "C:/Users/kisik/node_modules/ofetch/dist/index.mjs" is outside of Vite serving allow list. (x2)
ERROR The request url "C:/Users/kisik/node_modules/ufo/dist/index.mjs" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/nuxt/dist/head/runtime/plugins/unhead.js" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/nuxt/dist/head/runtime/plugins/vueuse-head-polyfill.js" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/nuxt/dist/pages/runtime/plugins/router.js" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/nuxt/dist/pages/runtime/plugins/prefetch.client.js" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/hookable/dist/index.mjs" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/unctx/dist/index.mjs" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/ofetch/dist/index.mjs" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/hookable/dist/index.mjs" is outside of Vite serving allow list.
ERROR The request url "C:/Users/kisik/node_modules/unctx/dist/index.mjs" is outside of Vite serving allow list. nitro ```
when i make project it works fine but when i clone it from github it's not working
@round jetty what is Vite idk but
Maybe you should learn about vue before doing the homework
Im not using nuxt myself. Did you try to create a new project?
If theres the same error it might be a new bug
The repo itself looks fine but the app.vue is missing
app.vue is a problem ???
Yeah you need it lol
I never tried but usually you should have <NuxtPage /> in it