Bootstrap v5.2.x tooling setup fails #40670
-
I have the following scripts in a "scripts": {
"download": "curl -L https://github.com/twbs/bootstrap/archive/v5.2.3.tar.gz | tar xvfz -",
"postdownload": "cd bootstrap-5.2.3 && npm install",
"clean": "rm -rf bootstrap-5.2.3",
"build": "cd bootstrap-5.2.3 && npm run dist",
"watch": "cd bootstrap-5.2.3 && npm run watch"
} I am trying to follow the procedure here to try and customize a Bootstrap build. However, I get the following error when I run the script > postdownload
> cd bootstrap-5.2.3 && npm install
npm error code 127
npm error path .../bootstrap-5.2.3/node_modules/hugo-bin
npm error command failed
npm error command sh -c rimraf vendor && node lib/install.js
npm error sh: rimraf: command not found
npm error A complete log of this run can be found in: .. I am running:
I have previously tried with Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @victorolweny My 2 cents: if you want to contribute to Bootstrap, it might be easier to clone the repository rather than doing it like that. Back to the question, I've just tried the scripts in the description and I don't have any issues after running
I tried with Node 22.5.1 and your configuration, and it works too on my machine. It looks like you're having an issue with the I'm saying that because If you go to |
Beta Was this translation helpful? Give feedback.
I think I found the issue. It looks like it is something related to location I am running the script - my path. When I run in different location whose path is defined well, all runs successful.
Thanks @julien-deramond for the quick response.