#i'm getting error when i try to run github clone project

68 messages · Page 1 of 1 (latest)

vocal finch
#

ERROR Failed to load url /@fs/C:/Users/kisik/node_modules/ofetch/dist/index.mjs?v=7388b4b1 (resolved id: C:/Users/kisik/node_modules/ofetch/dist/index.mjs?v=7388b4b1) in C:/Users/kisik/node_modules/nuxt/dist/app/entry.js. Does the file exist?

#

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

#

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 :/

round jetty
#

He updated the nuxt version

#

Did you try to run npm install again?

vocal finch
#

yess

round jetty
#

So then delete node modules, package-lock & .nuxt folder and run npm install again

vocal finch
#

i delete package-lock.json

#

also

#

ok

#

thanks for helping btw

#

it's installing it

#

????

#

it worked

#

somehow

round jetty
#

Yes because you prob had to remove .nuxt folder

vocal finch
#

why?

#

what's causing the problem i can't see

round jetty
#

Because nuxt is scuffed at its current state

#

Sometimes you need to reset

vocal finch
#

ok then we might put it on .gitignore

#

?

round jetty
#

Already is

#

It was on your local machine

vocal finch
#

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

round jetty
#

Restart typescript server

vocal finch
#

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

round jetty
#

Thats your fault

#

You need app.vue

vocal finch
#

wait a minute

round jetty
#

You need <NuxtPage /> in your app. Vue template

vocal finch
#

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

round jetty
#

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

vocal finch
#

app.vue is a problem ???

round jetty
#

Yeah you need it lol

vocal finch
#

it's just a template

#

my friend said to me that you can delete it

round jetty
#

I never tried but usually you should have <NuxtPage /> in it

vocal finch
#

so when i clone it it's not come with app.vue

#

i should add it