microsoft / vscode-generator-code

Visual Studio Code extension generator
Other
1.3k stars 224 forks source link

generator.env.error(error); #483

Closed fxcl closed 5 months ago

fxcl commented 5 months ago
yo code                                                             20:45:39

     _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the Visual  │
    |--(o)--|    │   Studio Code Extension  │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? What type of extension do you want to create? New Extension Pack
? Add the currently installed extensions to the extension pack? Yes
file:///Users/fxcl/.local/share/mise/installs/node/20.11.0/lib/node_modules/generator-code/generators/app/generate-extensionpack.js:54
                        generator.env.error(error);
                                      ^

TypeError: generator.env.error is not a function
    at file:///Users/fxcl/.local/share/mise/installs/node/20.11.0/lib/node_modules/generator-code/generators/app/generate-extensionpack.js:54:39
    at ChildProcess.exithandler (node:child_process:430:5)
    at ChildProcess.emit (node:events:518:28)
    at ChildProcess.emit (node:domain:488:12)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:518:28)
    at Socket.emit (node:domain:488:12)
    at Pipe.<anonymous> (node:net:337:12)

Node.js v20.11.0