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

Document node version and Next.js requirements #6

Open
revodavid opened this issue Aug 21, 2024 · 0 comments
Open

Document node version and Next.js requirements #6

revodavid opened this issue Aug 21, 2024 · 0 comments

Comments

@revodavid
Copy link
Member

This issue is for a: (mark with an x)

- [ ] documentation issue or request

Minimal steps to reproduce

npm install nodejs npm
git clone https://github.com/Azure-Samples/contoso-web
npm install next

Any log messages given by the failure

Attempting npm run dev with a version of Node.js 12 or lower (the default on some distros) will create the confusing error:

SyntaxError: Unexpected token '?'

Expected/desired behavior

npm run dev works

OS and Version?

CodeSpace for contoso-chat

Mention any other details that might be useful

Tested with Node 20 (current LTS) and it works. It would be useful to give instructions on how to install Node 20 and Next.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant