json-server

json-server ‘json-server’ is not recognized as an internal or external command, operable program or batch file. json-server : The term ‘json-server’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + json-server –watch src/data/db.json –port 4906030 + ~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (json-server:String) [], CommandNotFoundException…

"json-server"

Angular CLI configuration format has changed

The Angular CLI configuration format has been changed, and your existing configuration can be updated automatically by running the following command: ng update @angular/cli –migrate-only –from=1 $> ng update @angular/cli –migrate-only –from=1 Your global Angular CLI version (6.0.1) is greater than your local version (6.0.0-rc.5). The local Angular CLI version is used. To disable this warning use “ng config -g cli.warnings.versionMismatch false”. Updating karma configuration Updating configuration Removing old config file (.angular-cli.json) Writing config file…

"Angular CLI configuration format has changed"

NG6 New Portal

CREATE portal/angular.json (3404 bytes) CREATE portal/package.json (1310 bytes) CREATE portal/README.md (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/environment.prod.ts (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/tsconfig.app.json (194…

"NG6 New Portal"

Setup new NG 6 via @angular/cli@6.0.1

success Saved lockfile. success Saved 176 new dependencies. info Direct dependencies ├─ @angular/cli@6.0.1 └─ global@4.3.2 info All dependencies ├─ @angular-devkit/architect@0.6.1 ├─ @angular/cli@6.0.1 ├─ @schematics/angular@0.6.1 ├─ @schematics/update@0.6.1 ├─ ajv@6.4.0 ├─ ansi-regex@2.1.1 ├─ anymatch@2.0.0 ├─ aproba@1.2.0 ├─ are-we-there-yet@1.1.4 ├─ arr-flatten@1.1.0 ├─ asn1@0.2.3 ├─ assign-symbols@1.0.0 ├─ async-each@1.0.1 ├─ asynckit@0.4.0 ├─ atob@2.1.1 ├─ aws-sign2@0.7.0 ├─ aws4@1.7.0 ├─ balanced-match@1.0.0 ├─ base@0.11.2 ├─ bcrypt-pbkdf@1.0.1 ├─ binary-extensions@1.11.0 ├─ boom@4.3.1 ├─ brace-expansion@1.1.11 ├─ braces@2.3.2 ├─ buffer-from@1.0.0 ├─ builtin-modules@1.1.1 ├─ builtins@1.0.3 ├─ cache-base@1.0.1 ├─…

"Setup new NG 6 via @angular/cli@6.0.1"

angular-gh-pages bash: /dev/tty: No such device or address

Problem: angular-gh-pages bash: /dev/tty: No such device or address Help for git remote remove: https://help.github.com/articles/changing-a-remote-s-url/ fatal: could not read Username for ‘https://github.com’: Invalid argument #71 For me the solution to this was updating the remote URL to: git remote set-url origin https://:@github.com//.git

"angular-gh-pages bash: /dev/tty: No such device or address"

Error: Permission denied (publickey)

problem: Error: Permission denied (publickey) try: git config –global user.email try: > git config –global user.name webdevdaniel > ssh -T git@github.com Permission denied (publickey). help: https://help.github.com/articles/error-permission-denied-publickey/ related: $ eval “$(ssh-agent -s)” Agent pid 91130 ~/GitHub/Trump (Daniel) $ eval $(ssh-agent -s) Agent pid 93421 $ ssh-add -l The agent has no identities. ~/GitHub/Trump (Daniel) $ ssh-add -l -E md5 The agent has no identities. most helpful: https://gist.github.com/adamjohnson/5682757 Next: https://pages.github.com/

"Error: Permission denied (publickey)"

updating hoek

npm WARN angular-in-memory-web-api@0.6.0 requires a peer of @angular/common@^6.0.0-rc.0 but none is installed. You must install peer dependencies yourself. npm WARN angular-in-memory-web-api@0.6.0 requires a peer of @angular/core@^6.0.0-rc.0 but none is installed. You must install peer dependencies yourself. npm WARN angular-in-memory-web-api@0.6.0 requires a peer of @angular/http@^6.0.0-rc.0 but none is installed. You must install peer dependencies yourself. npm WARN angular-in-memory-web-api@0.6.0 requires a peer of rxjs@^6.0.0-beta.1 but none is installed. You must install peer dependencies yourself. npm WARN angular2-jwt@0.2.3…

"updating hoek"