I get this error when trying to download firebase but another package I don't see. What can I do?
Also when I tried npm install core-js#3.24.3 I achieved the same error
I removed folders inside npm-caches from %appdata% and tried npm install again. Sadly i see the same error
I don't know the correct solution but i have a another laptop have never codded in. So that It works
Related
I'm learning how to develop a website with Wordpress and I'm using Docker for the first time. I followed this tutorial: https://developer.wordpress.org/block-editor/getting-started/devenv/
Basically I installed Docker, then the #wordpress/env package, ran the wp-env start command in a wordpress directory. It created a Docker image and started the container.
Everything worked fine, but somehow I thought I still needed to install php so I did that through homebrew. Then I closed my Macbook and had dinner. Now I came back, created a Wordpress plugin with #wordpress/create-block and tried to use wp-env start in its directory, but the command couldn't be found anymore?
I tried uninstalling and installing the #wordpress/env package again but I still get the error zsh: command not found: wp-env.
I can still start the docker container from the initial attempt, but when I try wp-env commands it just can't be found. I don't know much about terminal commands either.
Can anyone give me tips where to look for the error?
First and foremost I have looked into these previous post for answers: EACCES: permission denied, unlink
Error: EACCES: permission denied, unlink '/usr/local/bin/npx'
Error while building or running ngx-bootstrap tests
I do not see the answers I seek in any of these posts, or maybe I am not knowledgable enough to decipher how to use those answers to fix my issue. I am still learning so please, if you are answering my post make sure you explain, so that I may fully grasp what is being done and why. I would appreciate it very much.
In VS Code I was trying to work on a project but needed to update the npm version. See example:
After researching the f***(pardon my language) out of this, I did the following:
after reading this article: https://flaviocopes.com/npm-fix-missing-write-access-error/
I did what he suggested and then tried to do the npm update.
I then did the following, to find who owns the directory
After this I am pretty much at lost of what to do next, why do I have three 'drwxr-xr-x'? what does that exactly mean, that I have three npm packages? can I combine them all into one? or would it be better to delete all and start from scratch, but would I run into the same issue?
I also read this:
To minimize the chance of permissions errors, you can configure npm to
use a different directory. In this example, you will create and use a
hidden directory in your home directory.
Back up your computer. On the command line, in your home directory,
create a directory for global installations: mkdir ~/.npm-global
Configure npm to use the new directory path: npm config set prefix
'~/.npm-global' In your preferred text editor, open or create a
~/.profile file and add this line: export PATH=~/.npm-global/bin:$PATH
On the command line, update your system variables: source ~/.profile
To test your new configuration, install a package globally without
using sudo
but will that work if I have to [unlink '/usr/local/bin/npm'], according to the terminal. In all honestly, I prefer not reconfigure as I would need to back up everything, does anyone have a solution or suggestion as to what to do?
Thank you all in advance. And again I would like to reiterate that I am still learning, so please be kind and elaborate on your answer.
See if you have another path setup
like **
/usr/local/share/npm/bin
**
or so and just run install like this below.
**
sudo npm install npm#latest -g
**
I am using GitAhead on an existing repo, and trying to pull or fetch to get updates.
GitAhead is giving me this error:
Unable to fetch from 'origin' - config value 'autoupdate.enable' was not found
Git itself doesn't seem to have this config parameter .. so not sure what GitAhead is expecting.
Appreciate any pointers/solutions.
It looks like this is a config parameter of GitAhead so it might be an internal bug. Does it happen with the latest version of GitAhead / any existing git repository?
The developer might help you / fix the bug if you raise an issue.
I have been using GitAhead for a while, but mainly for viewing the merge graphs. I just tried using GitAhead to do a pull, and I ran into this problem as well.
I couldn't find any solutions online, but I found that GitAhead (version 2.62.2 on CentOS 7.8) does not understand:
ssh://hostname/path_to_repo
I get the error in the original question.
However, the solution for me was to use the following URL when cloning from a remote repository:
git clone user_id#hostname:/path_to_repo
After creating another clone with this URL, I'm able to pull in GitAhead.
So I am having this issue for the past 8-9 hours. I have been trying to resolve it by googling around.
This is what I have tried so far.
1) Totally uninstalled node and npm.
2) Totally uninstalled meteor. Deleted all the local/.meteor data. Searched for meteor in entire C drive and deleted it. Restarted the PC.
3) Reinstalled node, npm and meteor js again. (Did steps 1-3 in safe mode also and tried 3 times.)
4) Ran command and got this error again. "C:\Users\Admin\AppData\Local.meteor\packages\meteor-tool\1.4.4_2\mt-os.window
s.x86_32\dev_bundle\lib\node_modules\q\q.js:70
hasStacks = !!e.stack;
^
RangeError: Maximum call stack size exceeded".
Note: The same code works for me in another system, so apparently code is fine the issue is with meteor and my pc.
Then I found that creating new windows account and installing meteor there can make it work. So I tried to do that as well but no luck.
I need help to resolve this as I don't have any clue what to do next.
Meteor version is: 1.4
Node version is: 6.10.3
NPM version is: 3.10.10
Apologies for late response, just had the same problem and was eventually able to solve it. The problem is that windows doesn't like long file paths. Unfortunately, meteor is full of them so the installer seems to miss those files.
Try this:
Install meteor if its not already.
navigate to C:\Users\%username%\AppData\Local and delete the
.Meteor folder.
Download the installation archive:
https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.windows.x86_32.tar.gz
use 7-zip to extract the .Meteor folder somewhere with a shorter
path; ie: C drive root directory. Make sure you are running 7-Zip as
admin, and extract it using 7-Zips interface. Don't drag and drop as
this will extract to the temp folder first.
Go to your Environment Variables (in Control Panel/Advanced System
Settings), edit Path, and change the .Meteor directory to where you extracted the folder.
Open up CMD, cross your fingers, and enter meteor --version
Hope this helps any desperate souls out there.
I'm trying download scripts onto my atom editor. but I'm getting a strange error that I believe has something to do with node? This is one of the first packages I've tried to install so any help would be great. Here is the error.
You seem to have some connection problem to github. You should try to clone that repositry directly with git. Most likely ssh-connections don't work from your location..