electron / electron/fiddle

Error when npm is not installed in PATH

Open
#193 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.8k
Forks
762
Avg merge
15h 27m
Merged PRs (30d)
12

Description

Seeing this error:

📦 Packaging current Fiddle...

Error: Could not find npm. Fiddle requires Node.js and npm to compile packages. Please visit https://nodejs.org to install Node.js and npm.

On Windows 10 x64. Using Fiddle app 0.6.0 with Electron v5.0.0
NodeJS installed to C:\Program Files\nodejs but not on path.

In Fiddle console I see this error below.

Any ideas?

Thanks

```
app.15fac660.js:2044 Fetch Types: Updating Monaco types with electron.d.ts@5.0.0
app.15fac660.js:252 getIsNpmInstalled: "where.exe npm" failed. Error: Command failed: where.exe npm
INFO: Could not find files for the given pattern(s).

at ChildProcess.exithandler (child_process.js:299)
at ChildProcess.emit (events.js:182)
at maybeClose (internal/child_process.js:962)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251)
getIsNpmInstalled @ app.15fac660.js:252
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.