Does anyone know how can i run the scripts of package.json file - from the editor?
Is there any Atom package for this operation?
I have already tried to search for a package on atom.io/packages page.
You can use the npm-plus package:
https://atom.io/packages/npm-plus
Related
This is the output of the flutter pub cache repair command:
Failed to repair devtools 2.3.2. Error:
Pub failed to delete entry because it was in use by another process.
This may be caused by a virus scanner or having a file
in the directory open in another application.
Reinstalled 229 packages.
Failed to reinstall 1 package:
devtools 2.3.2
Reactivating devtools 2.3.2...
Installed executable devtools.
Warning: Executable "devtools" runs "bin\devtools.dart", which was not found in devtools.
I already turned off my antivira.
The project structure also shows this issue:
Library Dart Packages has broken classes paths: C:\Users\annaH\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_fonts-2.1.0\lib C:\Users\annaH\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-2.0.0\lib [Fix]
The Fix option does not work
I am really appreciative of any help or tipps on how to fix this issue :) !!
Thanks
Try
dart pub global activate devtools
I would like to install the package r2excel.
Unfortunately, I can't do that because of my proxy.
So, I have to obtain r2excel.tar.gz to install my package.
Could you help me?
Of course I tried:
install.packages("devtools")
devtools::install_github("kassambara/r2excel")
library(r2excel)
but it isn't working as I said because of my proxy...
Thanks in advance!
If you're using RStudio,
Go to the Packages tab, click the Install button, and change "Install from:" to Package Archive File (.tgz; .tar.gz)
Technically I have 2 probs when I tried to install a package:
1. The package can be installed normally from github by devtools::install_github, however, when I download the zip file and try to manually install it from R or RStudio, I failed. The package seems can't be installed in this way. So could somebody explain that.
2. I tried to fix some bugs by modifying the .r source codes in R directory of the package unzipped folder. Then I think I need to re-compile/re-construct the package. Could some one give me a tutorial to do that.
IOS: Windows10, 64bit; R and Rtools are both the newest.
For prob1, here is the screen capture:
Thanks.
Close R and RStudio (if applicable) and uninstall the package manually by deleting its folder from your file system
For your 2nd problem after following #1 you can reinstall it by installing from source:
install.packages(path_to_file, repos = NULL, type="source")
Please confirm that these worked for you or let me know if not.
I was following the installation instructions for Juno specified here: https://github.com/JunoLab/atom-julia-client/tree/master/manual
I ran the following commands:
Pkg.update()
Pkg.add("Atom")
using Atom
Then, when I open up Atom, I tried to look for the language-julia package, but Atom is unable to find anything called that. What could I be doing wrong?
As per your comments, the search was being carried out in the Packages tab of the settings menu which will only show packages that are currently installed. If you perform the same search from the Install tab the packages show up as expected.
I have an R package on github that uses a "configure" script (since some of the C code depends on GSL libraries). I try installing the package using github_install() function from devtools package and get the error:
(as ‘lib’ is unspecified)
* installing *source* package ‘wrightscape’ ...
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'
Not sure what to do -- are there such a thing as execute permissions for a file on github? is this a devtools issue or a configuration issue? (Installing the package from source works fine for me). The package is here. https://github.com/cboettig/wrightscape
This is now fixed in the latest version of devtools (0.7).
Git does not manage file permissions directly. It is usually the responsibility of a build or install script to adjust permissions correctly once the bits are delivered from git. There are third party tools that can help with this. See the discussion on SO question Retaining file permissions with Git.
Hope this helps.
I had a similar issue which was caused by my /tmp dir being mounted noexec, and solved by setting a different TMPDIR, as explained here
export TMPDIR=~/tmp