Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

run "yo code" but get " Unexpected token '(' "

Open
#419 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, node.js
Domain
tooling

Research direction

Reproduce yo code on Windows 11 with Node.js v12.19.0 and npm 6.14.8, then compare the result with the prerequisites in the linked Visual Studio Code extension tutorial. Done means identifying whether the reported syntax error is version-related and recording the supported versions or a confirmed fix.

Written by the indexing model from the issue text.

Description

OS: Win11
node.js : v12.19.0.
npm : 6.14.8

`F:>yo code
Error code

Unexpected token '('`

Im new to Yo and Generator-Code. just follow the tutorial " https://code.visualstudio.com/api/get-started/your-first-extension ".
when i run "yo code " , but get " Unexpected token '(' "
Is this caused by the versions? Or How to get the Version recommended?

Dominant language
JavaScript
Stars
1.6k
Forks
262
Avg merge
3h 44m
Merged PRs (30d)
2

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-generator-code

All issues in microsoft/vscode-generator-code

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.