I'm trying to deploy the site on Netlify, but it fails with an error related to npm.
This is the log of the failed deploy.
2:59:50 PM: Bundle complete! 7 Gemfile dependencies, 35 gems now installed.
2:59:50 PM: Bundled gems are installed into `/opt/build/cache/bundle`
2:59:50 PM: Gem bundle installed
2:59:51 PM: Started restoring cached go cache
2:59:51 PM: Finished restoring cached go cache
2:59:51 PM: Installing Go version 1.19.5 (requested 1.19.5)
2:59:55 PM: go version go1.19.5 linux/amd64
2:59:56 PM: Using PHP version 8.0
2:59:57 PM: v16.20.0 is already installed.
2:59:57 PM: Now using node v16.20.0 (npm v8.19.4)
2:59:57 PM: Enabling Node.js Corepack
2:59:57 PM: Started restoring cached build plugins
2:59:57 PM: Finished restoring cached build plugins
2:59:57 PM: Started restoring cached corepack dependencies
2:59:57 PM: Finished restoring cached corepack dependencies
2:59:57 PM: No npm workspaces detected
2:59:57 PM: Started restoring cached node modules
2:59:57 PM: Finished restoring cached node modules
2:59:58 PM: Installing npm packages using npm version 8.19.4
2:59:58 PM: npm ERR! must provide string spec
2:59:58 PM: npm ERR! A complete log of this run can be found in:
2:59:58 PM: npm ERR! /opt/buildhome/.npm/_logs/2023-04-26T12_59_58_345Z-debug-0.log
2:59:58 PM: Error during npm install
2:59:58 PM: Build was terminated: dependency_installation script returned non-zero exit code: 1
2:59:58 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
2:59:58 PM: Failing build: Failed to install dependencies
2:59:58 PM: Finished processing build request in 2m49.344s