angular-university / typescript-course Goto Github PK
View Code? Open in Web Editor NEWContains the code for the Complete Typescript Course - Build a Node REST API
Home Page: https://angular-university.io
License: MIT License
Contains the code for the Complete Typescript Course - Build a Node REST API
Home Page: https://angular-university.io
License: MIT License
I have this error when I run types-examples.
After cloning the complete-typescript-course I install npm, and then I do the "git checkout tags/section-2-7". I have configured thw WebStorm as you said in the videos
npm ERR! Linux 4.4.0-51-generic
npm ERR! argv "/home/tomas/.nvm/versions/node/v6.9.1/bin/node" "/home/tomas/.nvm/versions/node/v6.9.1/bin/npm" "run" "types-examples"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] types-examples: node ./samples/learning-types.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] types-examples script 'node ./samples/learning-types.js'.
node -v // 6.9.2 npm -v // 3.10.9 tsc -v // 2.1.4
I tried to clone complete-typescript-course.git but received an error "SSL certificate problem: self signed certificate in certificate chain".
Please see steps to replicate for more information.
Steps to replicate
git clone https://github.com/angular-university/complete-typescript-course.git
into the terminal window.$ git clone https://github.com/angular-university/complete-typescript-course.git
Cloning into 'complete-typescript-course'...
fatal: unable to access 'https://github.com/angular-university/complete-typescript-course.git/': SSL certificate problem: self signed certificate in certificate chain
cloned repo, setup postgres, tested database, installed sql scripts, database is setup
built the app
at runtime the app does not load in any browser
chrome tell of this error
"Uncaught SyntaxError: Unexpected token <"
advise please
Hans@HP-HANS C:\Users\Hans\Web\frontend\platform\js\frameworks\angular20-angularfire20\angular-univerity\typescript-angular-rest-api
npm i
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Hans\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "i"
npm ERR! node v6.6.0
npm ERR! npm v3.10.6
npm ERR! file C:\Users\Hans\AppData\Roaming\npm-cache\debug\2.2.0\package\package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: C:\Users\Hans\AppData\Roaming\npm-cache\debug\2.2.0\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Hans\Web\frontend\platform\js\frameworks\angular20-angularfire20\angular-univerity\typescript-angular-rest-api\npm-debug.log
Hans@HP-HANS C:\Users\Hans\Web\frontend\platform\js\frameworks\angular20-angularfire20\angular-univerity\typescript-angular-rest-api
npm -v
3.10.6
Hans@HP-HANS C:\Users\Hans\Web\frontend\platform\js\frameworks\angular20-angularfire20\angular-univerity\typescript-angular-rest-api
node -v
v6.6.0
Hans@HP-HANS C:\Users\Hans\Web\frontend\platform\js\frameworks\angular20-angularfire20\angular-univerity\typescript-angular-rest-api
ng --version
angular-cli: 1.0.0-beta.19-3
node: 6.6.0
os: win32 x64
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.