Nuxt3 build never starts the 'build' after initializing and then times out-PROBLEM FIXED

Update: I downloaded the code from git and started a new netlify site and it came up. The code is exactly the same. I will leave the old code up. The new site is resilient-creponne-180578 , The trouble was that I didn’t have package-lock.json in my .gitignore. Once I removed that file from the git repository, everything seems to work.

I normally use ‘npm run build’ as the build command. I tried ‘nuxt build’ with the same result. I tried deploying from the CLI, but that produced a non-existent web page. Everything runs fine locally using the netlify CLI ‘netlify build’ command to produce a local dist and the built website comes up as expected.

The log is below. The deploy times out after 15 minutes or so, but it looks like the build never gets executed.

Thanks for any help…

Site Name: verdant-nougat-0494ab

1:54:24 PM: build-image version: 8205490ca60064f5c9949f585e9e35b434be95b8 (focal)
1:54:24 PM: buildbot version: eb0b3c03ee1b40888f6883e255e3a141a5a683be
1:54:24 PM: Building without cache
1:54:24 PM: Starting to prepare the repo for build
1:54:25 PM: No cached dependencies found. Cloning fresh repo
1:54:25 PM: git clone --filter=blob:none https://github.com/essthree/myloosnnuxt
1:54:25 PM: Preparing Git Reference refs/heads/main
1:54:26 PM: Custom build path detected. Proceeding with the specified path: ‘’
1:54:27 PM: Starting to install dependencies
1:54:27 PM: Python version set to 3.8
1:54:27 PM: Attempting Ruby version 2.7.2, read from environment
1:54:27 PM: Using Ruby version 2.7.2
1:54:28 PM: Started restoring cached go cache
1:54:28 PM: Finished restoring cached go cache
1:54:28 PM: go version go1.19.12 linux/amd64
1:54:28 PM: Using PHP version 8.0
1:54:29 PM: v18.17.1 is already installed.
1:54:30 PM: Now using node v18.17.1 (npm v9.6.7)
1:54:30 PM: Enabling Node.js Corepack
1:54:30 PM: Started restoring cached build plugins
1:54:30 PM: Finished restoring cached build plugins
1:54:30 PM: Started restoring cached corepack dependencies
1:54:30 PM: Finished restoring cached corepack dependencies
1:54:30 PM: No npm workspaces detected
1:54:30 PM: Started restoring cached node modules
1:54:30 PM: Finished restoring cached node modules
1:54:30 PM: Installing npm packages using npm version 9.6.7
1:54:34 PM: npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
1:54:34 PM: npm WARN deprecated zoomus@0.1.4: WARNING: This package is deprecated. An updated Zoom library is under development. Please visit our documentation to use the Zoom API https://marketplace.zoom.us/docs/guides and our Official Zoom NPM Organization for a list of available packages npm.
1:54:34 PM: npm WARN deprecated source-map-url@0.4.1: See GitHub - lydell/source-map-url: [DEPRECATED] Tools for working with sourceMappingURL comments.
1:54:34 PM: npm WARN deprecated source-map-resolve@0.5.3: See GitHub - lydell/source-map-resolve: [DEPRECATED] Resolve the source map and/or sources for a generated file.
1:54:34 PM: npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
1:54:34 PM: npm WARN deprecated resolve-url@0.2.1: GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.
1:54:34 PM: npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
1:54:35 PM: npm WARN deprecated nvm@0.0.4: This is NOT the correct nvm. Visit https://nvm.sh and use the curl command to install it.
1:54:35 PM: npm WARN deprecated netlify-lambda@2.0.16: netlify-lambda is deprecated. Checkout GitHub - netlify/netlify-lambda: Helps building and serving lambda functions locally and in CI environments for more details.
1:54:38 PM: npm WARN deprecated bootstrap-vue-3@0.1.21: This package is deprecated and the repo was moved to bootstrap-vue organization. For updates on this project go to bootstrap-vue. The new package is called bootstrap-vue-next. Thanks for your support!
1:54:39 PM: npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
1:54:40 PM: npm WARN deprecated axios@0.17.1: Critical security vulnerability fixed in v0.21.1. For more information, see Hotfix: Prevent SSRF by timemachine3030 · Pull Request #3410 · axios/axios · GitHub
1:54:55 PM: > postinstall
1:54:55 PM: > nuxt prepare
1:54:57 PM: [success] Types generated in .nuxt

  • List item