F# Fake error Build - f#

I'm new to F# with VSCode.
I've installed FAKE and when I want to build my first program I have this build failer message :
Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) dans D:\code\fake\src\app\FakeLib\TargetHelper.fs:ligne 626
I have no directory D:\code
What did I miss ?
Thank you
Problem solved : I change in the name of my working directory "F#" to "FSharp" and now it works.

Related

can't open source file "sys/reent.h" (dependency of freertos/FreeRTOS.h)

I'm using visual studio code version(1.59.1) for ESP-IDF version (4.3).I have added in c_cpp_properties.json file all paths in includepath but I still have the same all error gone except this one:
(can't open source file "sys/reent.h" (dependency of freertos/FreeRTOS.h)).
In visual studio terminal it gives me error when I try to use (idf.py command)
'idf.py' is not recognized as an internal or external command, and sometimes it give me python can't open the file where the script exist.
First open esp-idf terminal then execute "idf.py build" or other idf commands.
Once build success "sys/reent.h" error will gone

ERROR: Config value download_clang not defined in any .rc file

With reference to ERROR: Config value download_clang is not defined in any .rc file .I am stuck in the same issue.I have tensorflow 2 and have checkout to branch r2.2 .I have the same error : ERROR: Config value download_clang not defined in any .rc file .Can anyone tell me which bazel version I should ideally install.I have tried 2.0 and 3.0 already
Anyone stuck with this problem can try this : (It worked for me)
When you are configuring then when you are asked about building fresh release of Clang.Then answer N (No).

Jenkins: C:Program No such file or directory

Jenkins script in the cache gives the following error
C:\Users\svcBICM\AppData\Local\Temp\jenkins6041485005934862737.sh:
line 16: C:\Program: No such file or directory
I am running the above in Windows. The previous node path was is c:\root\nodejs which was working and the current path is in c:\Program Files\ .
So I am getting the following error since maybe the jenkins is taking c:\Program as one string and Files\ as another one. Is there any way to fix this? The above jenkins script is not created by me , but you can say its auto-generated and not available to view when i go to the location.
Any help would be appreciated.
As Rohit already said, you can fix the issue just by using double quotes: "c:\Program Files\".

Aqueduct/Dart new project command fails on Windows 7

I'm trying to create a project with the aqueduct command but I get the following errors :
C:\Users\Aelayeb>aqueduct create -n web_dart
Fetching Aqueduct as:
aqueduct: "any"
Determining Aqueduct template source...
ProcessException: Le fichier sp├®cifi├® est introuvable.
Command: pub get --no-packages-dir
It is written "File not found" (in french).
Also, I skipped the "aqueduct setup" step from the documentation because it fails to find psql and I don't need a database for this project.
After seeing the code for this setup step, I don't think it's mandatory (setup_command.dart).
But if I'm doing something wrong, or someone have an idea about the error, it would really helps me.
Btw, I'm testing this on a Windows 7 64bits computer.
Basically it seems that the command fails to switch directory before executing "pub get --no-packages-dir".
So when I replay "pub get" in the right directory, it seems to work.
EDIT : It's a problem with dart "Process.runSync()" method on windows which doesn't use the "PATH" env. When adding the "runInShell: true" parameters it seems to work.
More details here : github
The question now is : Is it working as intended ?

Blackberry application loading on simulator

while loading my application on BlackBerry simulator its displaying given below an error
Unable to start simulator. Check that the file exists. (java.lang.IllegalArgumentException: Executable name has embedded quote, split the arguments)
I had same issue whilst trying to run the demo application.
I am running Windows 7 Professional,JDK 7u21 and STS 3.2.
This is an issue with the changes made to the decoding of command strings specified to Runtime.exec method.
In summary the path configured for the simulator launch contains spaces.In my case "C:\Program Files (x86)"
To Fix this issue
Copy the simulator Dir and MDS to a new directory that has no spaces.
From the run configuration settings,enable the use of Customized Command line ,Customized Working directory and Customized MDS directory.Update the
entries to point to the new path that has no spaces.
Alternatively you can use windows shortened dir name by typing dir /X in the CMD from the directory that contains the simulator and MDS,this should give you something like PROGRAM~2
In the end ,the issue is not with the IDE or the Simulator,just java and windows not playing nice.
see Oracle JDK 7u21 release note
My solution was:
Go to debugger Configurations, Simulator, Advanced and COPY the "default command line".
Hit debug. When the alert with the error appears:
Open a shell/cmd and paste the text obtained in step 1, hit enter.
It should open the emulator an the debugger should attached without a problem.
This is not an error, this is an "upgrade" of Oracle Java due to security issues, you cannot longer execute commandlines with arguments if theyre not passed as an array..
Hope it helps.
Also:
Here is the error documentated:
http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html#jruntime
Heres the patch but only for java 17 and earlier:
http://www.oracle.com/technetwork/topics/security/javacpuapr2013-1928497.html
remove the Java 7 and keep only the java 6 and it will work fine
i have the same issue and i solve it with the above solution

Resources