atinux / content-wind

A lightweight Nuxt theme to build a Markdown driven website. Powered by Nuxt Content, TailwindCSS and Iconify.
https://content-wind.nuxt.space
MIT License
791 stars 55 forks source link

Fresh install failed with 3 errors #18

Closed ManasMadrecha closed 2 years ago

ManasMadrecha commented 2 years ago

Reproduction

  1. Cloned the repo
  2. npm i
  3. npm run dev

Errors in Terminal and the website doesn't show up

 ERROR  Missing "./dist/app/entry" export in "nuxt3" package

i Vite server using experimental vite-node...                                              

 ERROR  Missing "./dist/app/entry" export in "nuxt3" package

i @nuxt-themes/config-edge v0.0.1-27648855.385c9ae enabled!                                             
i Using Content Wind by Sebastien Chopin (@Atinux)                                                      
√ Design Tokens built in 120ms                                                                  

 ERROR  Rollup error:  Unexpected token (Note that you need plugins to import files that are not JavaScript)

√ Nitro built in 1503 ms

The localhost page is stuck on this: image

And this error in Console:

GET http://localhost:3000/ 503 (Server Unavailable)
danielroe commented 2 years ago

This issue should be resolved in nuxt edge channel and released shortly in RC.

https://github.com/nuxt/framework/pull/6355

ManasMadrecha commented 2 years ago

@danielroe That will be nice. However, doesn't this repo use "nuxt": "npm:nuxt3@latest" already?

danielroe commented 2 years ago

In that case, ensure you're using the latest release with yarn upgrade or npm upgrade. Here's the latest edge release on codesandbox.