You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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