question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

start Building server... runs forever

See original GitHub issue

Environment

Nuxt CLI v3.0.0-rc.3 10:44:31 RootDir: /Users/david/projects/finder/churchtools-finder 10:44:33 Nuxt project info: 10:44:33


  • Operating System: Darwin
  • Node Version: v16.13.2
  • Nuxt Version: 3.0.0-rc.3
  • Package Manager: npm@8.1.2
  • Builder: vite
  • User Config: runtimeConfig, css, build, buildModules, intlify, serverMiddleware, render
  • Runtime Modules: -
  • Build Modules: @intlify/nuxt3@0.2.2

👉 Report an issue: https://github.com/nuxt/framework/issues/new 10:44:33

👉 Suggest an improvement: https://github.com/nuxt/framework/discussions/new

👉 Read documentation: https://v3.nuxtjs.org

Describe the bug

We upgraded to nuxt rc3. First it worked. But now 2 days later without changing anything running nuxi build does not terminate. It just hangs at start Building server...

Here is how it looks:

npm run build

> ChurchTools Finder@0.3.0 build
> nuxi build

Nuxt CLI v3.0.0-rc.3                                                                                                                                                          10:41:34
ℹ Vite client warmed up in 2191ms                                                                                                                                             10:41:41

 WARN  [vite:css] Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.                                                             10:41:43
651|  @media print {
652|  	/* Prevent printers from removing background-images of controls. */
653|  	.leaflet-control {
   |       ^
654|  		-webkit-print-color-adjust: exact;
655|  		color-adjust: exact;


 WARN  [vite:css] Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.                                                             10:41:45
651|  @media print {
652|  	/* Prevent printers from removing background-images of controls. */
653|  	.leaflet-control {
   |       ^
654|  		-webkit-print-color-adjust: exact;
655|  		color-adjust: exact;

ℹ Client built in 10043ms                                                                                                                                                     10:41:49
ℹ Building server...                                                                                                                                                          10:41:49

 WARN  @fortawesome/fontawesome-free doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.


 WARN  reflect-metadata doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.


 WARN  [vite:css] Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.                                                             10:41:50
651|  @media print {
652|  	/* Prevent printers from removing background-images of controls. */
653|  	.leaflet-control {
   |       ^
654|  		-webkit-print-color-adjust: exact;
655|  		color-adjust: exact;

✔ Server built in 2511ms                                                                                                                                                      10:41:51
✔ Generated public .output/public                                                                                                                                       nitro 10:41:51
start Building server...

I can see that esbuild is running and not terminating. Is there a debug flag where i can see more infos?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jshimkoskicommented, Jun 15, 2022

Blowing away my package-lock.json and node_modules then running a fresh npm install fixed the issue for me.

Thank you @danielroe!

1reaction
cinobcommented, Jun 16, 2022

Updated nitropack to v0.4.8

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make this server process run forever? - Stack Overflow
I have this Javascript Signal server running using nodejs. But daily it's crashing as a result whole service goes down. I am using...
Read more >
Build Servers That Runs Forever - Smarter Code, Better Software
However, to run a server for months or years, there are a few things you can do to minimize required maintenance. Usually Linux...
Read more >
Running Node.js scripts continuously using forever
This article demonstrates how to set up forever, an npm module, with a Node application and covers some important forever commands.
Read more >
Running a Node.js Server Forever - YouTube
Learn how to create a server in Node.js and run it forever online.Code example from this video: ...
Read more >
Running your server forever using forever in Node.js
[01:03] Now, we'll start building a response to send back to the client. Let's write "Welcome to Egghead server" into the response stream....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found