I am trying to run Processing in Sublime Text 2. But when I click build, I receive this error:
Error trying to parse build system: Expected value in C:\Users\USERNAME\AppData\Roaming\Sublime Text 2\Packages\Processing\Processing (Windows).sublime-build:1:34
I already created a Processing (Windows).sublime-build file in the directory mentioned above with the code:
{
"path": "$file_path\temp",
"cmd": [C: \\processing - 2.2.1\\ processing - java.exe ","--sketch = $file_path ","--output = $file_path / build - tmp ","--force ","--build ","--run "]
}
How do I fix this error? I am using Windows 8.1
Related
I want to save a plotly graph as webpage in HTML. But then I get this message.
I click yes and let R install this package. After 46 seconds, I get the message that the installation has succeeded, however I see a lot of red warning messages. These are the last few lines:
The downloaded source packages are in
'C:\Users\***\AppData\Local\Temp\RtmpysVdFP\downloaded_packages'
<U+2714> Package 'rmarkdown' successfully installed.
Warning messages:
1: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\***\Documents\R\win-library\3.6\00LOCK\htmltools\libs\x64\htmltools.dll to C:\Users\***\Documents\R\win-library\3.6\htmltools\libs\x64\htmltools.dll: Permission denied
2: In utils::install.packages("bslib", repos = "https://cran.rstudio.com/") :
installation of package 'bslib' had non-zero exit status
3: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\***\Documents\R\win-library\3.6\00LOCK\htmltools\libs\x64\htmltools.dll to C:\Users\***\Documents\R\win-library\3.6\htmltools\libs\x64\htmltools.dll: Permission denied
4: In utils::install.packages("rmarkdown", repos = "https://cran.rstudio.com/", :
installation of package 'htmltools' had non-zero exit status
5: In utils::install.packages("rmarkdown", repos = "https://cran.rstudio.com/", :
installation of package 'xfun' had non-zero exit status
6: In utils::install.packages("rmarkdown", repos = "https://cran.rstudio.com/", :
installation of package 'bslib' had non-zero exit status
7: In utils::install.packages("rmarkdown", repos = "https://cran.rstudio.com/", :
installation of package 'rmarkdown' had non-zero exit status
For example I can't find the folder (RtmpysVdFP) where the source packages are supposed to be in.
If I want to save the plot again as a webpage, it gives me again the message to install r markdown package.
How can I solve this?
How to solve it when installing Yii 2 starter kit on Windows with the recommended command composer run-script docker:build, why this error happens?
'cp' is not recognized as an internal or external command,
operable program or batch file.
Script cp .env.dist .env handling the build:env event returned with error code 1
Script #build:env was called via docker:build```
it is because normally the command cp is not available at the Ms Windows operating system
It must be currently edited in the composer.json file in the root directory, the scripts->build.env part must have changed cp command to copy as a temporal workaround
scripts": {
"build:env": [
"cp .env.dist .env"
],
to
scripts": {
"build:env": [
"copy .env.dist .env"
],
hi I've been using the React-Native-Maps library from https://github.com/lelandrichardson/react-native-maps/blob/master/docs/installation.md with a real android divice and i followed the installation but when i start to use CMD and write 'react-native run-andorid', i got error this msg.
:app:dexDebug
Unknown source file : UNEXPECTED TOP-LEVEL EXCEPTION:
Unknown source file : com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim;
Unknown source file : at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:579)
Unknown source file : at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:535)
Unknown source file : at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:517)
Unknown source file : at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:164)
Unknown source file : at com.android.dx.merge.DexMerger.merge(DexMerger.java:188)
Unknown source file : at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:504)
Unknown source file : at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
Unknown source file : at com.android.dx.command.dexer.Main.run(Main.java:277)
Unknown source file : at com.android.dx.command.dexer.Main.main(Main.java:245)
Unknown source file : at com.android.dx.command.Main.main(Main.java:106)
:app:dexDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:
Process 'command 'C:\Program Files\Java\jdk1.8.0_101\bin\java.exe'' finished with non-zero exit value 2
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
help me plz!
Most probably the problem is with gradle cache for Android. Try running the below command at the root of your project
cd android && ./gradlew clean
Is it possible to deploy a Single Page App project build using grunt to IIS using MSDeploy from TeamCity? The project is not any kind of Visual Studio solution and doesn't get built using MSBuild.
My Command parameters which are not working are:
-source:package='%teamcity.build.checkoutDir%\Dist.%build.number%.zip' -dest:auto,computerName="%system.MsDeployServiceUrl%",userName="%system.UserName%",password="%system.Password%",authtype="basic",includeAcls="False"
-verb:sync -setParamFile:"%teamcity.build.checkoutDir%\Dist.%build.number%.zip.SetParameters.xml"
-AllowUntrusted -setParam:"IIS Web Application Name"="%system.WebSiteName%" -verbose
The error I am getting is:
[11:47:31][Step 3/3] Error Code: ERROR_EXCEPTION_WHILE_CREATING_OBJECT
[11:47:31][Step 3/3] More Information: Object of type 'package' and
path 'D:\TeamCity\buildAgent\work\e2b0015b49d87e90\Dist.30.zip' cannot
be created. Learn more at:
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEPTION_WHILE_CREATING_OBJECT.
[11:47:31][Step 3/3] Error: The Zip package
'D:\TeamCity\buildAgent\work\e2b0015b49d87e90\Dist.30.zip' could not
be loaded. [11:47:31][Step 3/3] Error: Could not find file
'D:\TeamCity\buildAgent\work\e2b0015b49d87e90\Dist.30.zip'.
[11:47:31][Step 3/3] Error count: 1. [11:47:31][Step 3/3] Process
exited with code -1 [11:47:31][Step 3/3] Step Deploy (Command Line)
failed
My build process is working as I end up with the correct artefacts, I just don't seem to be able to deploy my generated artefacts using MSDeploy
This is a screenshot of my artefacts:
I managed to get this working by changing my parameters to the following:
-source:iisapp='%teamcity.build.checkoutDir%\dist' -dest:iisapp='C:\www\xxxx-website',computerName="%system.MsDeployServiceUrl%",userName="%system.UserName%",password="%system.Password%",authtype="basic",includeAcls="False"
-verb:sync -AllowUntrusted -verbose
And changing my user to an admin user rather than an IIS user. Note use of iisapp - the key was to read the MSDeploy api using msdeploy -help
FYI - a good test is to use the intended command against msdeploy.exe in console and check output errors then push command into teamcity when it's working.
I created a grunt and gulp plugin to do just what you are looking to do. gulp-mswebdeploy-package and grunt-mswebdeploy-package will create a ms webdeploy package from any folder and do not require your build to be running on windows.
https://www.npmjs.com/package/gulp-mswebdeploy-package
https://www.npmjs.com/package/grunt-mswebdeploy-package
I am trying to refresh my app to show any differences in local host but the sencha CMD seems to not able to find my app.json file in the generated app folder structure. The file is deffinately there as well, but i do not know why it is tripping up with this.
Here is the log:
Sencha Cmd v4.0.2.67
[ERR] Failed to load JSON from /Users/username/Downloads/sencha/app.json - com.google.gson.stream.MalformedJsonException: Unterminated array at line 80 column 20
It seems this error only occurs when an additional css file is added in the app.json file.
Thanks.