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

[🐛 Bug]: ▲ Module not found: Can't resolve 'http' when translate nextjs to pages #859

Open
1 task done
wanghaisheng opened this issue Aug 18, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@wanghaisheng
Copy link

next-on-pages environment related information

No response

Description

2024-08-18T14:27:05.820522Z	Cloning repository...
2024-08-18T14:27:06.723746Z	From https://github.com/wanghaisheng/melodisco
2024-08-18T14:27:06.724556Z	 * branch            691695734d2c082ff79ccfbbfd4317fa8430caef -> FETCH_HEAD
2024-08-18T14:27:06.724761Z	
2024-08-18T14:27:06.880852Z	HEAD is now at 6916957 fix nein
2024-08-18T14:27:06.881345Z	
2024-08-18T14:27:06.965083Z	
2024-08-18T14:27:06.96563Z	Using v2 root directory strategy
2024-08-18T14:27:06.990358Z	Success: Finished cloning repository files
2024-08-18T14:27:08.637907Z	Checking for configuration in a wrangler.toml configuration file (BETA)
2024-08-18T14:27:08.638559Z	
2024-08-18T14:27:08.638701Z	Found wrangler.toml file. Reading build configuration...
2024-08-18T14:27:08.643164Z	pages_build_output_dir: .vercel/output/static
2024-08-18T14:27:08.643274Z	Build environment variables: (none found)
2024-08-18T14:27:08.743954Z	Successfully read wrangler.toml file.
2024-08-18T14:27:08.887159Z	Detected the following tools from environment: [email protected], [email protected]
2024-08-18T14:27:08.888037Z	Installing project dependencies: npm install --progress=false
2024-08-18T14:27:23.451179Z	npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
2024-08-18T14:27:23.471685Z	npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2024-08-18T14:27:23.587857Z	npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
2024-08-18T14:27:23.731458Z	npm WARN deprecated [email protected]: This package is no longer supported.
2024-08-18T14:27:23.907438Z	npm WARN deprecated [email protected]: This package is no longer supported.
2024-08-18T14:27:23.927899Z	npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
2024-08-18T14:27:23.940693Z	npm WARN deprecated [email protected]: This package is no longer supported.
2024-08-18T14:27:26.435245Z	npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
2024-08-18T14:27:26.582775Z	npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
2024-08-18T14:27:26.63348Z	npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
2024-08-18T14:27:26.71856Z	npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
2024-08-18T14:27:36.749248Z	
2024-08-18T14:27:36.74961Z	added 588 packages, and audited 589 packages in 27s
2024-08-18T14:27:36.749731Z	
2024-08-18T14:27:36.749813Z	75 packages are looking for funding
2024-08-18T14:27:36.749933Z	  run `npm fund` for details
2024-08-18T14:27:36.757096Z	
2024-08-18T14:27:36.757265Z	5 vulnerabilities (1 low, 1 moderate, 3 high)
2024-08-18T14:27:36.757498Z	
2024-08-18T14:27:36.757759Z	To address all issues, run:
2024-08-18T14:27:36.75793Z	  npm audit fix
2024-08-18T14:27:36.758214Z	
2024-08-18T14:27:36.758494Z	Run `npm audit` for details.
2024-08-18T14:27:36.789655Z	Executing user command: npm run deploy
2024-08-18T14:27:37.362793Z	
2024-08-18T14:27:37.363088Z	> [email protected] deploy
2024-08-18T14:27:37.363245Z	> pnpm pages:build && wrangler pages deploy
2024-08-18T14:27:37.363375Z	
2024-08-18T14:27:37.934766Z	
2024-08-18T14:27:37.935015Z	> [email protected] pages:build /opt/buildhome/repo
2024-08-18T14:27:37.935173Z	> npx @cloudflare/next-on-pages
2024-08-18T14:27:37.935266Z	
2024-08-18T14:27:38.741589Z	⚡️ @cloudflare/next-on-pages CLI v.1.13.2
2024-08-18T14:27:39.073619Z	⚡️ Detected Package Manager: pnpm (8.7.1)
2024-08-18T14:27:39.073838Z	⚡️ Preparing project...
2024-08-18T14:27:39.075054Z	
2024-08-18T14:27:39.075178Z	⚡️ The project is set up for npm but it is currently being run via pnpm this might lead to build errors, please be sure to use the same package manager your project uses when running @cloudflare/next-on-pages
2024-08-18T14:27:39.075698Z	
2024-08-18T14:27:39.077368Z	⚡️ Project is ready
2024-08-18T14:27:39.077637Z	⚡️ Building project...
2024-08-18T14:27:40.140554Z	▲  Progress: resolved 1, reused 0, downloaded 0, added 0
2024-08-18T14:27:40.816014Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:40.825173Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:40.885922Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:41.142463Z	▲  Progress: resolved 54, reused 0, downloaded 43, added 0
2024-08-18T14:27:41.49432Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:41.727899Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:41.736681Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:41.882837Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:42.144947Z	▲  Progress: resolved 167, reused 0, downloaded 128, added 0
2024-08-18T14:27:42.541457Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:42.556474Z	▲  .../share/pnpm/store/v3/tmp/dlx-813      |  WARN  deprecated [email protected]
2024-08-18T14:27:42.967105Z	▲  Packages: +247
2024-08-18T14:27:42.967372Z	▲  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-08-18T14:27:43.145857Z	▲  Progress: resolved 267, reused 0, downloaded 246, added 216
2024-08-18T14:27:43.195791Z	▲  Progress: resolved 267, reused 0, downloaded 247, added 247, done
2024-08-18T14:27:43.280443Z	▲  .../[email protected]/node_modules/esbuild postinstall$ node install.js
2024-08-18T14:27:43.40802Z	▲  .../[email protected]/node_modules/esbuild postinstall: Done
2024-08-18T14:27:44.633079Z	▲  Vercel CLI 36.0.0
2024-08-18T14:27:45.004507Z	▲  Your application is being built using `next build`. If you need to define a different build step, please create a `vercel-build` script in your `package.json` (e.g. `{ "scripts": { "vercel-build": "npm run prepare && next build" } }`).
2024-08-18T14:27:45.008603Z	▲  Installing dependencies...
2024-08-18T14:27:46.159683Z	▲  up to date in 819ms
2024-08-18T14:27:46.160646Z	▲  75 packages are looking for funding
2024-08-18T14:27:46.160862Z	▲  run `npm fund` for details
2024-08-18T14:27:46.171347Z	▲  Detected Next.js version: 14.1.4
2024-08-18T14:27:46.177143Z	▲  Detected `package-lock.json` generated by npm 7+
2024-08-18T14:27:46.177644Z	▲  Running "npm run vercel-build"
2024-08-18T14:27:46.573108Z	▲  > [email protected] vercel-build
2024-08-18T14:27:46.573455Z	▲  > next build
2024-08-18T14:27:47.642199Z	▲  Attention: Next.js now collects completely anonymous telemetry regarding usage.
2024-08-18T14:27:47.642523Z	▲  This information is used to shape Next.js' roadmap and prioritize features.
2024-08-18T14:27:47.642636Z	▲  You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
2024-08-18T14:27:47.642725Z	▲  https://nextjs.org/telemetry
2024-08-18T14:27:47.738646Z	▲  ▲ Next.js 14.1.4
2024-08-18T14:27:47.738927Z	▲  
2024-08-18T14:27:47.805003Z	▲  Creating an optimized production build ...
2024-08-18T14:28:19.251162Z	▲  Failed to compile.
2024-08-18T14:28:19.251722Z	▲  ./node_modules/agent-base/dist/helpers.js:27:0
2024-08-18T14:28:19.252159Z	▲  Module not found: Can't resolve 'http'
2024-08-18T14:28:19.252277Z	▲  
2024-08-18T14:28:19.252349Z	▲  https://nextjs.org/docs/messages/module-not-found
2024-08-18T14:28:19.252428Z	▲  
2024-08-18T14:28:19.252507Z	▲  Import trace for requested module:
2024-08-18T14:28:19.252569Z	▲  ./node_modules/agent-base/dist/index.js
2024-08-18T14:28:19.252625Z	▲  ./node_modules/https-proxy-agent/dist/index.js
2024-08-18T14:28:19.252681Z	▲  ./node_modules/gaxios/build/src/gaxios.js
2024-08-18T14:28:19.252737Z	▲  ./node_modules/gaxios/build/src/index.js
2024-08-18T14:28:19.252829Z	▲  ./node_modules/google-auth-library/build/src/index.js
2024-08-18T14:28:19.253003Z	▲  ./configs/auth.ts
2024-08-18T14:28:19.253116Z	▲  ./app/api/auth/[...nextauth]/route.ts
2024-08-18T14:28:19.253226Z	▲  ./node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js?absolutePagePath=private-next-app-dir%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute.ts&page=%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&appDirLoader=bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBpJTJGYXV0aCUyRiU1Qi4uLm5leHRhdXRoJTVEJTJGcm91dGUmcGFnZT0lMkZhcGklMkZhdXRoJTJGJTVCLi4ubmV4dGF1dGglNUQlMkZyb3V0ZSZwYWdlUGF0aD1wcml2YXRlLW5leHQtYXBwLWRpciUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlLnRzJmFwcERpcj0lMkZvcHQlMkZidWlsZGhvbWUlMkZyZXBvJTJGYXBwJmFwcFBhdGhzPSUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlJnBhZ2VFeHRlbnNpb25zPXRzeCZwYWdlRXh0ZW5zaW9ucz10cyZwYWdlRXh0ZW5zaW9ucz1qc3gmcGFnZUV4dGVuc2lvbnM9anMmYmFzZVBhdGg9JmFzc2V0UHJlZml4PSZuZXh0Q29uZmlnT3V0cHV0PSZwcmVmZXJyZWRSZWdpb249Jm1pZGRsZXdhcmVDb25maWc9ZTMwJTNEIQ%3D%3D&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!
2024-08-18T14:28:19.253387Z	▲  
2024-08-18T14:28:19.253745Z	▲  ./node_modules/agent-base/dist/helpers.js:28:0
2024-08-18T14:28:19.254027Z	▲  Module not found: Can't resolve 'https'
2024-08-18T14:28:19.254159Z	▲  
2024-08-18T14:28:19.254265Z	▲  https://nextjs.org/docs/messages/module-not-found
2024-08-18T14:28:19.25436Z	▲  
2024-08-18T14:28:19.254538Z	▲  Import trace for requested module:
2024-08-18T14:28:19.254643Z	▲  ./node_modules/agent-base/dist/index.js
2024-08-18T14:28:19.254737Z	▲  ./node_modules/https-proxy-agent/dist/index.js
2024-08-18T14:28:19.254836Z	▲  ./node_modules/gaxios/build/src/gaxios.js
2024-08-18T14:28:19.254929Z	▲  ./node_modules/gaxios/build/src/index.js
2024-08-18T14:28:19.255051Z	▲  ./node_modules/google-auth-library/build/src/index.js
2024-08-18T14:28:19.255145Z	▲  ./configs/auth.ts
2024-08-18T14:28:19.255231Z	▲  ./app/api/auth/[...nextauth]/route.ts
2024-08-18T14:28:19.255319Z	▲  ./node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js?absolutePagePath=private-next-app-dir%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute.ts&page=%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&appDirLoader=bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBpJTJGYXV0aCUyRiU1Qi4uLm5leHRhdXRoJTVEJTJGcm91dGUmcGFnZT0lMkZhcGklMkZhdXRoJTJGJTVCLi4ubmV4dGF1dGglNUQlMkZyb3V0ZSZwYWdlUGF0aD1wcml2YXRlLW5leHQtYXBwLWRpciUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlLnRzJmFwcERpcj0lMkZvcHQlMkZidWlsZGhvbWUlMkZyZXBvJTJGYXBwJmFwcFBhdGhzPSUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlJnBhZ2VFeHRlbnNpb25zPXRzeCZwYWdlRXh0ZW5zaW9ucz10cyZwYWdlRXh0ZW5zaW9ucz1qc3gmcGFnZUV4dGVuc2lvbnM9anMmYmFzZVBhdGg9JmFzc2V0UHJlZml4PSZuZXh0Q29uZmlnT3V0cHV0PSZwcmVmZXJyZWRSZWdpb249Jm1pZGRsZXdhcmVDb25maWc9ZTMwJTNEIQ%3D%3D&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!
2024-08-18T14:28:19.255386Z	▲  
2024-08-18T14:28:19.255494Z	▲  ./node_modules/agent-base/dist/index.js:30:0
2024-08-18T14:28:19.255564Z	▲  Module not found: Can't resolve 'net'
2024-08-18T14:28:19.25562Z	▲  
2024-08-18T14:28:19.255678Z	▲  https://nextjs.org/docs/messages/module-not-found
2024-08-18T14:28:19.255732Z	▲  
2024-08-18T14:28:19.255788Z	▲  Import trace for requested module:
2024-08-18T14:28:19.255844Z	▲  ./node_modules/https-proxy-agent/dist/index.js
2024-08-18T14:28:19.255898Z	▲  ./node_modules/gaxios/build/src/gaxios.js
2024-08-18T14:28:19.255953Z	▲  ./node_modules/gaxios/build/src/index.js
2024-08-18T14:28:19.256024Z	▲  ./node_modules/google-auth-library/build/src/index.js
2024-08-18T14:28:19.256127Z	▲  ./configs/auth.ts
2024-08-18T14:28:19.256222Z	▲  ./app/api/auth/[...nextauth]/route.ts
2024-08-18T14:28:19.256331Z	▲  ./node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js?absolutePagePath=private-next-app-dir%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute.ts&page=%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&appDirLoader=bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBpJTJGYXV0aCUyRiU1Qi4uLm5leHRhdXRoJTVEJTJGcm91dGUmcGFnZT0lMkZhcGklMkZhdXRoJTJGJTVCLi4ubmV4dGF1dGglNUQlMkZyb3V0ZSZwYWdlUGF0aD1wcml2YXRlLW5leHQtYXBwLWRpciUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlLnRzJmFwcERpcj0lMkZvcHQlMkZidWlsZGhvbWUlMkZyZXBvJTJGYXBwJmFwcFBhdGhzPSUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlJnBhZ2VFeHRlbnNpb25zPXRzeCZwYWdlRXh0ZW5zaW9ucz10cyZwYWdlRXh0ZW5zaW9ucz1qc3gmcGFnZUV4dGVuc2lvbnM9anMmYmFzZVBhdGg9JmFzc2V0UHJlZml4PSZuZXh0Q29uZmlnT3V0cHV0PSZwcmVmZXJyZWRSZWdpb249Jm1pZGRsZXdhcmVDb25maWc9ZTMwJTNEIQ%3D%3D&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!
2024-08-18T14:28:19.256474Z	▲  
2024-08-18T14:28:19.256574Z	▲  ./node_modules/agent-base/dist/index.js:31:0
2024-08-18T14:28:19.256671Z	▲  Module not found: Can't resolve 'http'
2024-08-18T14:28:19.256767Z	▲  
2024-08-18T14:28:19.256866Z	▲  https://nextjs.org/docs/messages/module-not-found
2024-08-18T14:28:19.25696Z	▲  
2024-08-18T14:28:19.257054Z	▲  Import trace for requested module:
2024-08-18T14:28:19.257192Z	▲  ./node_modules/https-proxy-agent/dist/index.js
2024-08-18T14:28:19.257294Z	▲  ./node_modules/gaxios/build/src/gaxios.js
2024-08-18T14:28:19.257462Z	▲  ./node_modules/gaxios/build/src/index.js
2024-08-18T14:28:19.257565Z	▲  ./node_modules/google-auth-library/build/src/index.js
2024-08-18T14:28:19.257653Z	▲  ./configs/auth.ts
2024-08-18T14:28:19.257737Z	▲  ./app/api/auth/[...nextauth]/route.ts
2024-08-18T14:28:19.257825Z	▲  ./node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js?absolutePagePath=private-next-app-dir%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute.ts&page=%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&appDirLoader=bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBpJTJGYXV0aCUyRiU1Qi4uLm5leHRhdXRoJTVEJTJGcm91dGUmcGFnZT0lMkZhcGklMkZhdXRoJTJGJTVCLi4ubmV4dGF1dGglNUQlMkZyb3V0ZSZwYWdlUGF0aD1wcml2YXRlLW5leHQtYXBwLWRpciUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlLnRzJmFwcERpcj0lMkZvcHQlMkZidWlsZGhvbWUlMkZyZXBvJTJGYXBwJmFwcFBhdGhzPSUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlJnBhZ2VFeHRlbnNpb25zPXRzeCZwYWdlRXh0ZW5zaW9ucz10cyZwYWdlRXh0ZW5zaW9ucz1qc3gmcGFnZUV4dGVuc2lvbnM9anMmYmFzZVBhdGg9JmFzc2V0UHJlZml4PSZuZXh0Q29uZmlnT3V0cHV0PSZwcmVmZXJyZWRSZWdpb249Jm1pZGRsZXdhcmVDb25maWc9ZTMwJTNEIQ%3D%3D&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!
2024-08-18T14:28:19.257968Z	▲  
2024-08-18T14:28:19.258052Z	▲  ./node_modules/agent-base/dist/index.js:32:0
2024-08-18T14:28:19.258136Z	▲  Module not found: Can't resolve 'https'
2024-08-18T14:28:19.25822Z	▲  
2024-08-18T14:28:19.258302Z	▲  https://nextjs.org/docs/messages/module-not-found
2024-08-18T14:28:19.258386Z	▲  
2024-08-18T14:28:19.258489Z	▲  Import trace for requested module:
2024-08-18T14:28:19.258569Z	▲  ./node_modules/https-proxy-agent/dist/index.js
2024-08-18T14:28:19.258644Z	▲  ./node_modules/gaxios/build/src/gaxios.js
2024-08-18T14:28:19.25876Z	▲  ./node_modules/gaxios/build/src/index.js
2024-08-18T14:28:19.258845Z	▲  ./node_modules/google-auth-library/build/src/index.js
2024-08-18T14:28:19.258921Z	▲  ./configs/auth.ts
2024-08-18T14:28:19.258998Z	▲  ./app/api/auth/[...nextauth]/route.ts
2024-08-18T14:28:19.259083Z	▲  ./node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js?absolutePagePath=private-next-app-dir%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute.ts&page=%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&appDirLoader=bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBpJTJGYXV0aCUyRiU1Qi4uLm5leHRhdXRoJTVEJTJGcm91dGUmcGFnZT0lMkZhcGklMkZhdXRoJTJGJTVCLi4ubmV4dGF1dGglNUQlMkZyb3V0ZSZwYWdlUGF0aD1wcml2YXRlLW5leHQtYXBwLWRpciUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlLnRzJmFwcERpcj0lMkZvcHQlMkZidWlsZGhvbWUlMkZyZXBvJTJGYXBwJmFwcFBhdGhzPSUyRmFwaSUyRmF1dGglMkYlNUIuLi5uZXh0YXV0aCU1RCUyRnJvdXRlJnBhZ2VFeHRlbnNpb25zPXRzeCZwYWdlRXh0ZW5zaW9ucz10cyZwYWdlRXh0ZW5zaW9ucz1qc3gmcGFnZUV4dGVuc2lvbnM9anMmYmFzZVBhdGg9JmFzc2V0UHJlZml4PSZuZXh0Q29uZmlnT3V0cHV0PSZwcmVmZXJyZWRSZWdpb249Jm1pZGRsZXdhcmVDb25maWc9ZTMwJTNEIQ%3D%3D&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!
2024-08-18T14:28:19.259183Z	▲  
2024-08-18T14:28:19.259264Z	▲  > Build failed because of webpack errors
2024-08-18T14:28:19.438234Z	▲  Error: Command "npm run vercel-build" exited with 1
2024-08-18T14:28:20.555651Z	
2024-08-18T14:28:20.556081Z	⚡️ The Vercel build (`pnpm dlx vercel build`) command failed. For more details see the Vercel logs above.
2024-08-18T14:28:20.556223Z	⚡️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories.
2024-08-18T14:28:20.556323Z	
2024-08-18T14:28:20.573523Z	 ELIFECYCLE  Command failed with exit code 1.
2024-08-18T14:28:20.613857Z	Failed: Error while executing user command. Exited with error code: 1
2024-08-18T14:28:20.622244Z	Failed: build command exited with code: 1
2024-08-18T14:28:21.5479Z	Failed: error occurred while running build command

Reproduction

git clone https://github.com/wanghaisheng/melodisco

connect it in project

Pages Deployment Method

Pages CI (GitHub/GitLab integration)

Pages Deployment ID

https://dash.cloudflare.com/7de76dbba0d8e0ad1d08d4acda8a3b03/pages/view/melodisco/0fdf624c-6a63-46b6-a7ae-6a6b9a85cc96

Additional Information

No response

Would you like to help?

  • Would you like to help fixing this bug?
@wanghaisheng wanghaisheng added the bug Something isn't working label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant