Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

nvm is not compatible with the npm config "prefix" option: currently set to "/root/.npm-global" Run

Hi Team,

I have Pipeline configure for SFDX Project.

Problem 1 :

Below are the commands for Installing Node and Setting the Path :


curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh
- nvm install v10
- nvm --version
- mkdir ~/.npm-global
- npm config set prefix '~/.npm-global'
- export PATH=~/.npm-global/bin:$PATH
- NPM_CONFIG_PREFIX=~/.npm-global
#- source ~/.profile
- npm config set user 0
- npm config set unsafe-perm true
- npm install sfdx-cli --global
- node -v
- npm -v


Error -
nvm is not compatible with the npm config "prefix" option: currently set to "/root/.npm-global"
Run `nvm use --delete-prefix v8.9.4 --silent` to unset it.


Problem 2 - I have .sh file in my project which I am running via Pipeline, while running it gives an error saying
Error :
+ ./dep.sh $STARTCOMMIT
bash: ./dep.sh: Permission denied

 

1 comment

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 26, 2021

@midasTouchParas  hi. Thanks for your question. Maybe you should use node docker image instead of installing manually?

Regards, Igor.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events