demystifyfp / fstweet Goto Github PK
View Code? Open in Web Editor NEWTwitter Clone in F# - Official GitHub Repository of the Book F# Applied II
Home Page: https://www.demystifyfp.com/FsApplied2/
License: MIT License
Twitter Clone in F# - Official GitHub Repository of the Book F# Applied II
Home Page: https://www.demystifyfp.com/FsApplied2/
License: MIT License
Basically the command line instructions are broken, you can't run them as is and get the project working as described. The book even makes note that future versions are not compatible but doesn't say what to do instead.
Am I now supposed to try and work out what I need to do with tools I haven't worked with before?
I was following the instructions on page 13 (using the full downloaded boilerplate, rather than the file content specified in the text). I get the following error no whether I do Run, Build, or Clean:
λ forge fake Build
C:\Users\Mike\Documents\fsharp\FsTweet\packages\FAKE\tools\FAKE.exe Build
C:\Users\Mike\AppData\Local\Temp\kudutemp already exists.
C:\Users\Mike\AppData\Local\Temp\kudutarget already exists.
Deleting contents of C:\Users\Mike\AppData\Local\Temp\kudutemp
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for '<StartupCode$FakeLib>.$Fake.Azure.Kudu' threw an exception. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\Mike\AppData\Local\Temp\kudutemp\FsTweet.Db.Migrations.dll' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.Delete()
at [email protected](String file) in D:\code\fake\src\app\FakeLib\FileHelper.fs:line 270
at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc2 action, IEnumerable
1 source)
at Fake.FileHelper.CleanDir(String path) in D:\code\fake\src\app\FakeLib\FileHelper.fs:line 267
at <StartupCode$FakeLib>.$Fake.Azure.Kudu..cctor() in D:\code\fake\src\app\FakeLib\AzureKudu.fs:line 26
--- End of inner exception stack trace ---
at Fake.Azure.Kudu.get_deploymentTemp()
at <StartupCode$FSI_0005>.$FSI_0005_Build$fsx.main@()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at [email protected](Unit unitVar0) in D:\code\fake\src\app\FakeLib\FSIHelper.fs:line 323
Error while running 'C:\Users\Mike\Documents\fsharp\FsTweet\packages\FAKE\tools\FAKE.exe' with args: Build
implies you can echo to the file. Not sure that works as the author expects in powershell.
you end up with something like :-
source https://www.nuget.org/api/v2
f r a m e w o r k : n e t 4 6 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.