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

VS Code extension generator fails #775

Open
ludovitkramar opened this issue Aug 15, 2023 · 0 comments
Open

VS Code extension generator fails #775

ludovitkramar opened this issue Aug 15, 2023 · 0 comments

Comments

@ludovitkramar
Copy link

The generator-code package appears to fail when it tries to run npm install.

Windows 10, running yo code works fine.

Output:

{
  "label": "Application Wizard",
  "level": "error",
  "message": "SAP Web Analytics tracker failed to track",
  "statusCode": 404,
  "time": "2023-08-15T08:44:54.814Z"
}
{
  "label": "Application Wizard.AbstractWebviewPanel",
  "level": "error",
  "message": "code:app generator failed - env.on(error) Command failed with exit code 4294963238: npm install",
  "stack": "Error: env.on(error) Command failed with exit code 4294963238: npm install\n\tat e.exports (c:\\Users\\ludovit.kramar\\.vscode\\extensions\\sapos.yeoman-ui-1.12.0\\dist\\extension.js:2:1963555)\n\tat c:\\Users\\ludovit.kramar\\.vscode\\extensions\\sapos.yeoman-ui-1.12.0\\dist\\extension.js:2:1961005\n\tat process.processTicksAndRejections (node:internal/process/task_queues:96:5)",
  "time": "2023-08-15T08:45:12.929Z"
}
{
  "label": "Application Wizard",
  "level": "error",
  "message": "SAP Web Analytics tracker failed to track",
  "statusCode": 404,
  "time": "2023-08-15T08:45:13.839Z"
}

Generator output

[ ... ] // Ommited

   create ..\..\..\..\Documents\Tests\i-m-tired\test\src\test\suite\extension.test.ts
   create ..\..\..\..\Documents\Tests\i-m-tired\test\src\test\suite\index.ts
   create ..\..\..\..\Documents\Tests\i-m-tired\test\.eslintrc.json
          
Changes to package.json were detected.
          
Running npm install for you to install the required dependencies.
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