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

Errors in Workers NextJS framework guide #17291

Open
dan-massey opened this issue Oct 2, 2024 · 0 comments
Open

Errors in Workers NextJS framework guide #17291

dan-massey opened this issue Oct 2, 2024 · 0 comments
Assignees
Labels
content:edit Request for content edits documentation Documentation edits product:workers Related to Workers product

Comments

@dan-massey
Copy link

Existing documentation URL(s)

https://developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/

What changes are you suggesting?

In step 2, the final suggested line is:
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }

when it should in fact be
assets = { directory = ".worker-next/assets", binding = "ASSETS" }

In step 3, the instructions suggest adding to package.json :

"deploy:worker": "npm run build:worker && wrangler deploy"

But this is later referred to incorrectly twice:

First in the last bullet immediately following the package.json instructions:

npm run deploy: Builds your app, and then deploys it to Cloudflare

Then again in step 6:

deploy via the command line:
Terminal window
npm run deploy

Additional information

No response

@dan-massey dan-massey added content:edit Request for content edits documentation Documentation edits labels Oct 2, 2024
@github-actions github-actions bot added the product:workers Related to Workers product label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits product:workers Related to Workers product
Projects
None yet
Development

No branches or pull requests

6 participants