Zaid-Ajaj / SAFE-TodoList

The simplest Todo app showcasing a client-server application written entirely in F#
45 stars 9 forks source link

File D:\code\fake\src\app\FakeLib\ProcessHelper.fs #2

Closed brettrowberry closed 5 years ago

brettrowberry commented 5 years ago

I cloned the repo in C:\dev and ran build.cmd RunDevMode.

Node version:
C:\Program Files\nodejs\node.exe --version
v10.4.0
Yarn version:
npm --version
Running build failed.
Error:
System.Exception: Start of process npm failed. The system cannot find the file specified
   at Fake.ProcessHelper.ExecProcessWithLambdas@103-16.Invoke(String message) in D:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 103
   at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, FSharpFunc`2 errorF, FSharpFunc`2 messageF) in D:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 103
   at FSI_0005.Build.run(String cmd, String args, String workingDir)
   at FSI_0005.Build.clo@32-1.Invoke(Unit _arg1)
   at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in D:\code\fake\src\app\FakeLib\TargetHelper.fs:line 626
Zaid-Ajaj commented 5 years ago

Hello there @brettrowberry! This exception occurs when FAKE can't run the processs "npm --version". Do you have npm installed?

Please note that this repo is quite uotdated: using old fable, old remoting...

brettrowberry commented 5 years ago

Yes

C:\dev>node —version v10.4.0 C:\dev>npm —version 6.1.0