A website for my GitHub repositories.
mattjeanes / angularbasic Goto Github PK
View Code? Open in Web Editor NEWBasic Angular TypeScript app for VS2017/VSCode, uses aspnet core, webpack, gulp, sass and yarn (optional)
License: MIT License
Basic Angular TypeScript app for VS2017/VSCode, uses aspnet core, webpack, gulp, sass and yarn (optional)
License: MIT License
Hy After installed this generator the yeoman crashes with the following error:
PS D:\Projects_Egyeb\YoCore> yo
_-----_ ╭───────────────────────╮
| | │ Bye from us! │
|--(o)--| │ Chat soon. │
---------´ │ Yeoman team │ ( _´U
_ ) │ http://yeoman.io │
/A\ /╰───────────────────────╯
| ~ |
'..'_
´ |° ´ Y
d:\temp\npm-modules\node_modules\yo\node_modules\update-notifier\index.js:30
throw new Error('pkg.name and pkg.version required');
^
Error: pkg.name and pkg.version required
at new UpdateNotifier (d:\temp\npm-modules\node_modules\yo\node_modules\update-notifier\index.js:30:10)
at module.exports.options (d:\temp\npm-modules\node_modules\yo\node_modules\update-notifier\index.js:145:25)
at resolveGenerators (d:\temp\npm-modules\node_modules\yo\lib\router.js:74:20)
at d:\temp\npm-modules\node_modules\yo\node_modules\lodash\lodash.js:4944:15
at baseForOwn (d:\temp\npm-modules\node_modules\yo\node_modules\lodash\lodash.js:3001:24)
at d:\temp\npm-modules\node_modules\yo\node_modules\lodash\lodash.js:4913:18
at Function.forEach (d:\temp\npm-modules\node_modules\yo\node_modules\lodash\lodash.js:9359:14)
at Router.updateAvailableGenerators (d:\temp\npm-modules\node_modules\yo\lib\router.js:83:7)
at runYo (d:\temp\npm-modules\node_modules\yo\lib\cli.js:174:10)
at env.lookup (d:\temp\npm-modules\node_modules\yo\lib\cli.js:134:7)
When running yo angular-basic
we have the option of using Angular Material.
When choosing not to use it, we still import the Material styles in _theme.scss
We should upgrade this to use Angular 5 now
Just marking this as an issue so I don't forget
I have something in the works for this based on detecting modified times against package.json
and webpack.config.vendor.ts
and also if the vendor.js
doesn't exist
Testing it a bit more before I put it into here but so far seems to be a great improvement
So when using yo angular-basic
and only including Pace and Angular Material, it seems that ClientApp\styles\_theme.scss
still has a @include covalent-core();
.
sudo yo angular-basic on mac is not working, pls find below log:
yo angular-basic
/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:47
_storeAsModule(namespace, Generator, resolved = 'unknown') {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:13:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
apples-MacBook-Pro:Fitness marco$ sudo yo angular-basic
/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:47
_storeAsModule(namespace, Generator, resolved = 'unknown') {
npm -v 3.8.6
node -v 4.4.3
macOs High Sierra
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.