#so what is the problem w2x

1 messages ยท Page 1 of 1 (latest)

placid mist
#

I get module not found

errant hare
#

can you use code blocks

#

```ts
paste here
```

placid mist
#

it's an error not code

#
- wait compiling /(themed)/org/[org]/page (client and server)...
- error ./
Module not found: Can't resolve '..\next-client\src\app\layout.tsx'

https://nextjs.org/docs/messages/module-not-found
- wait compiling /_error (client and server)...
- error ./
Module not found: Can't resolve '..\next-client\src\app\layout.tsx'
errant hare
#

yeah send error code

placid mist
#

gah, oh well.. was trying to obfuscate some parts. nvm. ๐Ÿ™‚

#

so it seems it's looking for root layout outside of my groups

errant hare
#

...

placid mist
#

I can see that you're in another conversation but not sure what you mean ๐Ÿ˜

errant hare
placid mist
#

No sorry. I mean. It's looking for the layout in the root despite me having just two groups in the root following the docs

errant hare
#

i think thats a build error not a routing error

placid mist
#

Not sure how to solve it

errant hare
#

so we should probably see what is using ..\next-client\src\app\layout.tsx

#

what file is using that file path

placid mist
#

in the dist folder then?

errant hare
#

what

#

why is it in dist folder ๐Ÿ™ƒ

placid mist
#

Argh I have no idea it's a build problem? ๐Ÿ˜„

#

I never reference the layouts

#

those are automatic next js things arent they

errant hare
#

ohhh

#

you meant in .next folder

#

have you tried deleting .next folder

placid mist
#

yeah sorry

#

I just did

#

lets see

errant hare
#

and when did the error happen?

placid mist
#

wohoo. progress. It's just missing som styling now

#

Thanks, must ve just been that it didnt properly rebuild that parrt