Topic: Gulp issue
Krzysztof Wilk staff asked 6 years ago
Hello. I'm doing tutorials from mdbootstrap.com and I stopped on chapter "Gulp & Customization" from Responsive Web Design because of some issues. I can't install Gulp properly. I did everything step by step like in tutorial, but it doesn't work. When I type npm install gulp -g
into Git Bash, It shows me less then half of text, that It was in tutorial video, and a warning, I think. Then if I click on my gulp pro package, choose "Git bash here" and type first npm init
, then npm --save-dev gulp
it shows me just Sorry, name can only contain URL-friendly characters.
, but I think it's chain reaction. I tried on other laptop with Windows 8.1, I reinstalled it but It didn't work. What should I do? I attach screens from Git Bash, that contains process of installation and initialization.
Dawid Adach pro answered 6 years ago
Dear Krzysztof,
please note that you during project initialisation you provided (mdbootstrap-pro) npm install --save-dev gulp which isn't valid project name.
Please try to
- init repository first using:
npm init - give it some short name (i.e. mdbpro)
- navigate to the project location
cd project-name - install gulp:
npm install --save-dev gulp
Krzysztof Wilk staff answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Academy
- MDB Version: -
- Device: Acer Aspire F5-573G-524K
- Browser: Google Chrome
- OS: Windows 10 Home
- Provided sample code: No
- Provided link: No
Bartłomiej Malanowski staff pro premium commented 6 years ago
Could you please show us your package.json file?
Dawid Adach pro commented 6 years ago
Please fix your images, you can use https://imgbb.com/ or other pic hosting services.