NG6 New Portal

CREATE portal/angular.json (3404 bytes) CREATE portal/package.json (1310 bytes) CREATE portal/ (1023 bytes) CREATE portal/tsconfig.json (384 bytes) CREATE portal/tslint.json (2805 bytes) CREATE portal/.editorconfig (245 bytes) CREATE portal/.gitignore (503 bytes) CREATE portal/src/environments/ (51 bytes) CREATE portal/src/environments/environment.ts (631 bytes) CREATE portal/src/favicon.ico (5430 bytes) CREATE portal/src/index.html (293 bytes) CREATE portal/src/main.ts (370 bytes) CREATE portal/src/polyfills.ts (3194 bytes) CREATE portal/src/test.ts (642 bytes) CREATE portal/src/assets/.gitkeep (0 bytes) CREATE portal/src/styles.css (80 bytes) CREATE portal/src/browserslist (375 bytes) CREATE portal/src/karma.conf.js (964 bytes) CREATE portal/src/ (194…

"NG6 New Portal"

Update Yarn

[4/4] Building fresh packages… success Saved lockfile. warning Your current version of Yarn is out of date. The latest version is “1.6.0”, while you’re on “1.5.1”. info To upgrade, run the following command: $ curl -o- -L | bash $ typings install for Windows, try: npm upgrade –global yarn yarn@1.6.0 updated 1 package in 2.108s yarn -v 1.6.0 typings install ? This package has been deprecated Author message: Typings is deprecated in favor…

"Update Yarn"

Beware of Node.js Authentication Tutorials

tl;dr: I went on a search of Node.js/Express.js authentication tutorials. All of them were incomplete or made a security mistake in some way that can potentially hurt new users. This post explores some common authentication pitfalls, how to avoid them, and what to do to help yourself when your tutorials don’t help you anymore. I am still searching for a robust, all-in-one solution for authentication in Node/Express that rivals Rails’s Devise. Your Node.js authentication tutorial…

"Beware of Node.js Authentication Tutorials"

fix dependencies

@angular/compiler-cli@5.2.9″ has incorrect peer dependency “typescript@>=2.4.2 @angular/compiler-cli@5.2.9″ has incorrect peer dependency “typescript@>=2.4.2 tsickle@0.27.5″ has incorrect peer dependency “typescript@>=2.4.2 karma-jasmine-html-reporter@1.0.0″ has unmet peer dependency “jasmine@^3.0.0”. yarn add -D karma-jasmine

"fix dependencies"

choco messed up my node

choco install yarn Chocolatey v0.10.8 Installing the following packages: yarn By installing you accept licenses for the packages. nodejs.install v9.11.1 [Approved] nodejs.install package files install completed. Performing other installation steps. The package nodejs.install wants to run ‘chocolateyInstall.ps1’. Note: If you don’t run this script, the installation will fail. Note: To confirm automatically next time, use ‘-y’ or consider: choco feature enable -n allowGlobalConfirmation Do you want to run the script?([Y]es/[N]o/[P]rint): Timeout or your choice of…

"choco messed up my node"

nodemon errors

$ nodemon [nodemon] 1.9.2 [nodemon] to restart at any time, enter `rs` [nodemon] watching: *.* [nodemon] starting `ng serve` You seem to not be depending on “@angular/core”. This is an error. [nodemon] failed to start process, possible issue with exec arguments events.js:143 throw err; ^ Error [ERR_UNHANDLED_ERROR]: Unhandled error. (2) at Bus.emit (events.js:141:19) at ChildProcess. … blah blah blah … at ChildProcess.emit (events.js:160:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) Did i forget? $ npm install Again! $ npm…

"nodemon errors"