This repository contains code featured in Udacity's Web Tooling & Automation course
udacity / ud892 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
This repository contains code featured in Udacity's Web Tooling & Automation course
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.
According to the latest FEND structure, 'Lesson 2' folder doesn't have :
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. :)
Hi,
I got the following error when running the gulp build code from Lesson 3:
"AssertionError [ERR_ASSERTION]: Task function must be specified"
I am using:
NPM 6.4.1
NodeJS 10.15.0
Gulp (CLI 2.0.1 / Local 4.0.0)
Can somebody point me in the right direction pls?
Best regards,
Phillip
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.