PatrickJS on npm_and_yarn
PatrickJS on master
chore(deps-dev): bump node-sass… (compare)
dependabot[bot] on npm_and_yarn
chore(deps-dev): bump node-sass… (compare)
PatrickJS on master
Update README.md (compare)
.styl
and template are included using ES2015 import
s.
Hey all after cloning ng6 and installing deps, I'm seeing this error trying to run any gulp tasks:
'''
ERROR in ./~/css-loader!./~/stylus-loader!./client/app/app.styl
Module build failed: TypeError: /Users/dl/dev/ng6/client/app/app.styl:4:1
1| .app
2| height 100%
3| background-color $lightBgColor
4|
------^
Path must be a string. Received undefined
'''
any ideas? never used webpack/stylus before, so a bit lost here...
ERROR in ./~/css-loader!./~/stylus-loader!./client/app/app.styl
Module build failed: TypeError: /home/phillip/github/NG6-starter/client/app/app.styl:4:1
1| .app
2| height 100%
3| background-color $lightBgColor
4|
------^
Path must be a string. Received undefined
/Volumes/UUI/Jedi/gulpfile.babel.js:3
import gulp from 'gulp';
^^^^^^
SyntaxError: Unexpected token import
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:511:25)
at loader (/Volumes/UUI/Jedi/node_modules/babel-register/lib/node.js:158:5)
at Object.require.extensions.(anonymous function) [as .js] (/Volumes/UUI/Jedi/node_modules/babel-register/lib/node.js:168:7)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
templateUrl
since it allows developers to build large HTML and putting it into js file forces to keep templates small