flathub / flathub/com.visualstudio.code

npm is missing, it's installed on my host however

Offen
#360 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
217
Forks
82
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
1

Beschreibung

```
* Executing task: npm run compile

/bin/sh: line 1: npm: command not found

* The terminal process "/bin/sh '-c', 'npm run compile'" failed to launch (exit code: 127).
* Terminal will be reused by tasks, press any key to close it.
```
I get this for all build tasks in the FlatHuub VS Code. None work, even though the default extensions seem to include npm integration and npm is installed on my host. So there seems to be some packaging issue or something.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduce the npm run compile task inside the FlatHub VS Code package and inspect how the packaged environment exposes host tools. Compare the task behavior inside and outside the package; done means the reported npm-based build tasks can launch successfully in FlatHub VS Code.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
node.js, shell
Bereich
build-system, tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.