microsoft / microsoft/vscode-generator-code

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

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.6k
Forks
262
Avg merge
15d 22h
Merged PRs (30d)
1

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?

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.