Skip to content
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

Stuck in a compiling loop #9740

Closed
Rterrell25 opened this issue Dec 13, 2019 · 2 comments
Closed

Stuck in a compiling loop #9740

Rterrell25 opened this issue Dec 13, 2019 · 2 comments

Comments

@Rterrell25
Copy link

Bug report

[ event ] build page: /
[ wait ] compiling ...
[ event ] build page: /about
[ ready ] compiled successfully - ready on http://localhost:3000
[ event ] disposing inactive page(s): /next/dist/pages/_error
[ event ] build page: /next/dist/pages/_error
[ wait ] compiling ...
[ ready ] compiled successfully - ready on http://localhost:3000
[ event ] disposing inactive page(s): /next/dist/pages/_error
[ event ] build page: /next/dist/pages/_error
[ wait ] compiling ...
[ ready ] compiled successfully - ready on http://localhost:3000
[ event ] disposing inactive page(s): /next/dist/pages/_error

It appears my pages are constantly being compiled. I'm unsure of what's causing this. Furthermore when i push to production my routes fail to work within my Navbar.

Steps to reproduce the behavior, please provide code snippets or a repository:
visit this repository and npm run dev in order to see what's happening
https://github.com/Rterrell25/Rterrell_Personal_Site

@ijjk
Copy link
Member

ijjk commented Dec 13, 2019

Hi, the recompiling is due to on-demand-entries which is expected. What it does is evict less used pages per the config here to reduce memory usage for large Next.js applications.

The links failing to work is a duplicate issue of #5598 which relates to vercel/next-plugins#282. See our RFC here for our plan to address this and if you would like to test this RFC you can enable it on up to date Next.js applications (> v9) by removing @zeit/next-css and adding experimental: { css: true } to your next.config.js

@ijjk ijjk closed this as completed Dec 13, 2019
@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants