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: C3 doesn't install packages properly on Windows #4425

Closed
centexmsp opened this issue Nov 10, 2023 · 0 comments · Fixed by #4445
Closed

🐛 BUG: C3 doesn't install packages properly on Windows #4425

centexmsp opened this issue Nov 10, 2023 · 0 comments · Fixed by #4445
Labels
bug Something that isn't working c3 Relating to C3 (create-cloudflare) package

Comments

@centexmsp
Copy link

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

@centexmsp centexmsp added the bug Something that isn't working label Nov 10, 2023
@penalosa penalosa linked a pull request Nov 15, 2023 that will close this issue
6 tasks
@jculvey jculvey added the c3 Relating to C3 (create-cloudflare) package label Nov 21, 2023
@1000hz 1000hz changed the title 🐛 BUG: 🐛 BUG: C3 doesn't install @cloudflare/next-on-pages properly on Windows Nov 21, 2023
@1000hz 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working c3 Relating to C3 (create-cloudflare) package
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants