Coder Social home page Coder Social logo

angular-university / typescript-course Goto Github PK

View Code? Open in Web Editor NEW
108.0 16.0 96.0 278 KB

Contains the code for the Complete Typescript Course - Build a Node REST API

Home Page: https://angular-university.io

License: MIT License

HTML 7.03% TypeScript 75.07% CSS 17.90%
angular typescript rxjs

typescript-course's Issues

npm run types-examples

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'.

Received "self signed certificate in certificate chain" error when cloning complete-typescript-course.git

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

  1. Open git bash.
  2. Paste in git clone https://github.com/angular-university/complete-typescript-course.git into the terminal window.
  3. Press enter. The below output appears.
$ 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

Uncaught SyntaxError: Unexpected token <

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

npm install fails on Windows 10/64bit node 6.6.0 npm 3.10.6

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.