Giter Site home page Giter Site logo

ud892's Issues

Gulp - Lesson 2 should have a starter code.

According to the latest FEND structure, 'Lesson 2' folder doesn't have :

  • sass & js folders
  • gulpfile.js file

It'd be great if we get Lesson 1 folder as 'gulp starter', so we can add the mentioned files/folders after watching tutorial video. Otherwise there is no reason for beginner to learn from this lesson. :)

Typo in final gulpfile.js

The gulpfile.js in the final lesson directory (Lesson 4 - Part 2 - Lesson 5) has a typo that stops the browser reloading (symptom). The cause is that the html-copy task is never run as gulp.watch is looking at the wrong file.

Line 15 is currently:

gulp.watch('/index.html', ['copy-html']);

This should be:

gulp.watch('./index.html', ['copy-html']);

Or maybe just:

gulp.watch('index.html', ['copy-html']);

...depending on your taste.

Otherwise, thanks for a great course. If I spot anything else, I'll let you know.

Cheers,

Steve.

lesson2 can not install the gulp

when run the 'command: npm install --save-dev gulp' the warning message are as belows:

D:\xkx\gulp_learn>npm install --save-dev gulp
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\abbrev' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\ansi-regex' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\aproba' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\balanced-match' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\chownr):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\chownr' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.chownr.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\code-point-at' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\concat-map' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents\node_modules\console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules\console-control-strings' -> 'D:\xkx\gulp_learn\node_modules\fsevents\node_modules.console-control-strings.DELETE'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.