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
start Building server... runs forever #14062
Comments
You could try clearing import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
sourcemap: false,
nitro: {
esbuild: {
options: {
minify: false
}
}
}
}) |
Thanks for your answer. I tried both but it did't help. This is what the process looks like:
And this is how our nuxt.config.ts looks like:
|
I'm seeing the same thing in RC 4. The build freezes on npm run build
> build
> nuxt build
Nuxt CLI v3.0.0-rc.4
ℹ Vite client warmed up in 1070ms
WARN
(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
ℹ Client built in 6702ms
ℹ Building server...
✔ Server built in 3064ms
✔ Generated public .output/public
start Building server... Here is how the esbuild process looks: ps aux | grep esbuild
<omitted_name> 8466 0.0 0.0 408637584 1792 s003 S+ 9:57AM 0:00.00 grep esbuild
<omitted_name> 8423 0.0 0.3 409288608 107264 s002 S+ 9:56AM 0:01.29 /<omitted_path>/node_modules/esbuild-darwin-arm64/bin/esbuild --service=0.14.43 --ping Finally, nuxt config: import { defineNuxtConfig } from 'nuxt'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
publicRuntimeConfig: {
BASE_URL: 'http://localhost:5000'
},
css: [
// Font Awesome
'@fortawesome/fontawesome-svg-core/styles.css',
// Provide the Tailwind CSS
'@/assets/css/main.css',
],
build: {
transpile: [
// Font Awesome
'@fortawesome/vue-fontawesome',
'@fortawesome/fontawesome-svg-core',
'@fortawesome/pro-solid-svg-icons',
'@fortawesome/pro-regular-svg-icons',
'@fortawesome/pro-light-svg-icons'
],
postcss: {
postcssOptions: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
},
},
vite: {
server: {
proxy: {
'/api': {
target: 'http://localhost:5000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
},
}
}
}
}) |
I got curious so I ran npm run generate
> generate
> nuxt generate
Nuxt CLI v3.0.0-rc.4
ℹ Vite client warmed up in 1100ms
WARN
(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
ℹ Client built in 6897ms
ℹ Building server...
✔ Server built in 3144ms
✔ Generated public .output/public
ℹ Initializing prerenderer |
Would you try the steps here? |
Blowing away my Thank you @danielroe! |
Updated nitropack to v0.4.8 |
Updating to v3.0.0-rc.4 fixed the issue for me. |
same experience for 5 days, and finally thank you |
Still having this issue Repo: https://github.com/AlejandroAkbal/Image-to-Text-OCR/tree/b05032c0e4242cfcc8da9b0da3e670db5844633d |
@AlejandroAkbal This is probably a different issue. See nuxt/cli#169. |
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
Darwin
v16.13.2
3.0.0-rc.3
npm@8.1.2
vite
runtimeConfig
,css
,build
,buildModules
,intlify
,serverMiddleware
,render
-
@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 atstart Building server...
Here is how it looks:
I can see that esbuild is running and not terminating. Is there a debug flag where i can see more infos?
The text was updated successfully, but these errors were encountered: