You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm following the docs from https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/ and get the following error:
Configuring your application for Cloudflare Step 2 of 3
│
├ Created an example API route handler
│
├ Do you want to use the next-on-pages eslint-plugin?
│ yes eslint-plugin
│
├ Adding the Cloudflare Pages adapter
│ npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:@cloudflare\next-on-pages@1/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:@cloudflare\next-on-pages@1\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Looks like it might be an issue with path names in create-cloudflare on windows.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered:
1000hz
changed the title
🐛 BUG:
🐛 BUG: C3 doesn't install @cloudflare/next-on-pages properly on Windows
Nov 21, 2023
1000hz
changed the title
🐛 BUG: C3 doesn't install @cloudflare/next-on-pages properly on Windows
🐛 BUG: C3 doesn't install packages properly on Windows
Nov 21, 2023
Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
latest
What version of Node are you using?
v20.9.0
What operating system are you using?
Windows
Describe the Bug
Hello, I'm following the docs from https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/ and get the following error:
Configuring your application for Cloudflare Step 2 of 3
│
├ Created an example API route handler
│
├ Do you want to use the next-on-pages eslint-plugin?
│ yes eslint-plugin
│
├ Adding the Cloudflare Pages adapter
│ npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:@cloudflare\next-on-pages@1/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:@cloudflare\next-on-pages@1\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Looks like it might be an issue with path names in create-cloudflare on windows.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: