Closed codewizard13 closed 6 years ago
@codewizard13 the video @stevelacy mentioned is the one that you referred to in your original post. It shows how to install nodejs and goes into details about what each step on the gulp website does. He even says not to worry about the deprecation warnings that show up when you install gulp.
It seems like you're trying to follow different tutorials and missing some steps or adding unnecessary steps. At the bottom of the responsivebootstrap readme, it shows how to install that repository, and one of the steps is to run npm install
in the directory after cloning it from GitHub. This step will install any dependencies that that repository is using (one of them is gulp-util). This repository already has a gulpfile.js
which means that the touch gulpfile.js
step is not necessary.
Since this is not an issue with gulp-util
or gulp
please direct all support related questions to Stack Overflow
@doowb said it perfectly. To assist farther please read articles on npm, git, node, and introductions to using the cli.
git clone git@github.com:planetoftheweb/responsivebootstrap.git
cd responsivebootstrap
npm install
gulp
NOTE: This is a continuation of my original ticket (#152), which is not yet resolved, and was prematurely closed, either automatically by the system or manually by @stevelacy who was helping me. Since I am unable to re-open the ticket, I guess here I am creating a new one.
Unclear Tasks and Missing Video
@stevelacy said (in the previous ticket #152):
@stevelacy I checked out the getting started guide but did not see any video, and I don't need any recipes, (I don't think). I just want gulp to not break when I'm trying to follow this tutorial. Gulp looks like a useful tool, but I am not supposed to have to understand a deep-dive into it right now, I'm just following along with a tutorial. I have no idea what recipe I might need, if any.
Also, can you clarify where the video you are referencing is? I would love to watch it, but it is not on the link you provided. Here is what that "getting started guide" page looked like today (May 24, 2018):
As you can see, there is no video on this page.
Can't Find Gulp-Util
Now am getting an error:
If gulp-util is what is giving me the problem, and it is deprecated as referenced above, um ... where do I go from here?
The Repo I'm Using
If it helps to reproduce the error, this is the repository I am using: https://github.com/planetoftheweb/responsivebootstrap
Steps to Reproduce
NOTE: I'm using Windows so I'll give the instructions presuming Git Bash and node are installed already.
Create a master git folder in root:
mkdir /c/git_main
CD into git_main
cd /c/git_main
Type
git init
to create the .git hidden folder.Download the responsivebootstrap git repo to local hard drive:
git clone https://github.com/planetoftheweb/responsivebootstrap.git
CD into new responsivebootstrap folder.
Type
git init
and hit enter to initialize the downloaded repo for logging etc.Since gulp 3 has been replaced by a new verson called "gulp-cli" remove any previously existing version of gulp:
npm rm --global gulp
Install the new gulp command line interface globally (meaning you don't have to install it in the root directory. You can install it from anywere and it will be available everywhere:
npm install --global gulp-cli
(This may be the same as
npm install gulp-cli -g
, but that is unclear)Run
npm install gulp -D
(for some reason), as indicated here: https://gulpjs.com/https://i.imgur.com/kV7DtjP.png
Run
touch gulpfile.js
.Run
gulp
.Get error:
To be clear, I didn't enter any command that had
gulp-util
in the name ... that phrase never came from my fingers.Thanks again for all your help so far.