Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey! I am new to raspberry pie and I am trying to install vscode onto raspberrypie so I encountered problems with bash
here is my output on echo$PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin:/home/vivek/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
I am providing this to make you able to spoonfeed me. Please understand my situation and help me past this,
BTW I am trying to compile vscode by this command
"./scripts/npm.sh install --arch=armhf"
and it gives me output
"bash: ./scripts/npm.sh: No such file or directory"
in post #6 there is a mistake, that should be ./scripts/npm.sh (the leading dot is very important).
From the other hand based on the answers you posted probably the execute flag is missing from that file, so chmod +x ./scripts/npm.sh will help.
ls -l .scripts/npm.sh may give more information.
i am past that problem but now I encounter this
pi@raspberrypi:~/vscode $ ./scripts/npm.sh install --arch=armhf
yarn install v1.12.3
warning You are using Node "4.2.1" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
$ node build/npm/preinstall.js
error Couldn't find the binary node build/npm/preinstall.js
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
linux bashnotfound901 is online now
in post #6 there is a mistake, that should be ./scripts/npm.sh (the leading dot is very important).
From the other hand based on the answers you posted probably the execute flag is missing from that file, so chmod +x ./scripts/npm.sh will help.
ls -l .scripts/npm.sh may give more information.
so you made a mistake again. that should be: ls -l ./scripts/npm.sh. I mistyped (a missing /) too.
Again, you need to learn how bash works. This is the way out.
Now another file is missing. Probably you are in a different directory, or mistyped something or ???
so you made a mistake again. that should be: ls -l ./scripts/npm.sh. I mistyped (a missing /) too.
Again, you need to learn how bash works. This is the way out.
Now another file is missing. Probably you are in a different directory, or mistyped something or ???
What exactly is the command? That can help you help me?
You are trying to install npm. Doesn't that exist in your distos repository?
Code:
pacman -Si npm
...
Name : npm
Version : 6.10.3-1
Description : A package manager for javascript
...
URL : https://www.npmjs.com/
...
Depends On : nodejs node-gyp semver
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 2.89 MiB
Installed Size : 16.14 MiB
...
It looks like /home/bashnotfound901/npm.sh exists on your box. Is the script executable?
I think that you are going to have a mess real quick trying to install software like that. Find a package for it and use your package manager to install it.
What linux are you using? Is there a package for npm in the repo?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.