-
Notifications
You must be signed in to change notification settings - Fork 304
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
Cannot compile fsx scripts with Windows 7 (Win7) #273
Comments
This is the behavior that I encounter yesterday on my computer at work. Here is the result if I try to execute the FABLE COMMAND manually, I got this error
Sorry if the error is not the exact message. My computer at work is in french. As @colinbull mention that he has been able to build .fsproj and not .fsx file, I tested both with the same code and I confirm this situation too. |
I cannot reproduce the problem in Windows 10, but in any case I have released [email protected] using again the Nuget version of FSharp.Compiler.Service instead of the custom build. Could you please give it a try with the new version and confirm if the problem has been solved? Thanks! |
The new version didn't fix this issue. I think that you can't reproduce this issue under Windows 10, because it's "specific" to Windows 7. I mean at home I am working with Windows 10 without problem and here at work under Windows 7 I got the error. |
Probably the error is coming from FSharp.Compiler.Service then, I'll report it there. The alternate solution is that we all update to Windows 10 😉 |
If only I could at work :) Thanks. |
What .NET version do you have installed on the Win7 system? |
Hum the default one installed with Visual Studio 2015. Should be .Net 4.5/4.6, I think. |
I've published [email protected]. This just has a fix to be able to visualise the stack trace of the problem. Can you please try again with the new verbose and post here the error stack trace? Thanks! |
Sure, but I cannot do it before Monday. I will post the result here later so. |
Ok, I am using a fresh aws workspace for my computer. It isn't win 7 but it is: Results:
|
Thanks! Now we have more information to deal with the problem 👍 Can you please try installing MSBuild tools 2013? |
For me it's working now using MSBuild tools 2013. Thanks you. |
For me also. Thanks very much. |
Fantastic! Thanks you both for your help and patience checking the issue. Hopefully, people with the same problem will find this when searching a solution. Actually, @MangelMaxime already had shown the solution when posting the error message on his first comment, but for some reason I missed that 😕 |
Should this get added to a getting started guide? Just ran into this with a demo node project. NVM ... it's listed here: https://github.com/fable-compiler/Fable |
I know this is closed, but I'm just curious, why is it necessary to install Microsoft Build Tools 2013 if we already have VS 2015 installed? |
It is an old issue in the F# Compiler Service (FCS) (fsharp/fsharp-compiler-docs#631) which Fable uses - but fortunately, it should be fixed soon, because the issue has recently been addressed in FCS (fsharp/fsharp-compiler-docs#649)! |
Description
Tried compiling my fsx project and got this error. Then tried fresh pull of samples/node/express and got same error. I noticed that the node/console project does compile. One difference between them is that the latter uses fsproj and the former uses fsx.
Repro steps
npm install -g fable-compiler
cd samples/node/express
fable
Expected behavior
Actual behavior
Related information
The text was updated successfully, but these errors were encountered: