shiv
shiv
Explore posts from servers
CDCloudflare Developers
Created by shiv on 6/13/2024 in #pages-help
unable to deploy using wrangler
i've built a nextjs app with ai bindings that i am trying to deploy. however when i run npm run deploy - this happens.
~ npm run deploy

> npm run pages:build && wrangler pages deploy


> [email protected] pages:build
> npx @cloudflare/next-on-pages

⚡️ @cloudflare/next-on-pages CLI v.1.11.3

⚡️ Warning: It seems like you're on a Windows system, the Vercel CLI (run by @cloudflare/next-on-pages
⚡️ to build your application) seems not to work reliably on Windows so if you experience issues during
⚡️ the build process please try switching to a different operating system or running
⚡️ @cloudflare/next-on-pages under the Windows Subsystem for Linux

EXIT WHEN NOT EXPECTED

SHELLAC COMMAND FAILED!
Executing: npm --version in C:\Users\shivs\Downloads\wall

STDOUT:



STDERR:

/bin/bash: line 1: cd: C:\Users\shivs\Downloads\wall: No such file or directory


⚡️ Unexpected error: {"retCode":1,"cmd":"npm --version","stdout":"","stderr":"/bin/bash: line 1: cd: C:\\Users\\shivs\\Downloads\\wall: No such file or directory
⚡️ "}
~ npm run deploy

> npm run pages:build && wrangler pages deploy


> [email protected] pages:build
> npx @cloudflare/next-on-pages

⚡️ @cloudflare/next-on-pages CLI v.1.11.3

⚡️ Warning: It seems like you're on a Windows system, the Vercel CLI (run by @cloudflare/next-on-pages
⚡️ to build your application) seems not to work reliably on Windows so if you experience issues during
⚡️ the build process please try switching to a different operating system or running
⚡️ @cloudflare/next-on-pages under the Windows Subsystem for Linux

EXIT WHEN NOT EXPECTED

SHELLAC COMMAND FAILED!
Executing: npm --version in C:\Users\shivs\Downloads\wall

STDOUT:



STDERR:

/bin/bash: line 1: cd: C:\Users\shivs\Downloads\wall: No such file or directory


⚡️ Unexpected error: {"retCode":1,"cmd":"npm --version","stdout":"","stderr":"/bin/bash: line 1: cd: C:\\Users\\shivs\\Downloads\\wall: No such file or directory
⚡️ "}
2 replies