Giter Site home page Giter Site logo

johnmunsch / root Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 146 KB

Code, links, and reference material for the Packt Publishing course Angular 2 Essentials.

License: MIT License

JavaScript 36.60% TypeScript 10.59% HTML 25.70% CSS 23.42% ApacheConf 3.47% Ruby 0.22% Shell 0.01%

root's People

Contributors

johnmunsch avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

root's Issues

Video 1.4/end refuses to work

I'm not sure what's going wrong, but I've attempted the following in order:

  • tried the code changes from the video in the Video 1.4/start directory.
  • pulled the latest from this github's final branch, and modified the start/index.html and start/app/app.component.ts files by comparing their contents to the corresponding files from the Video 1.4/end directory.
  • attempted to run the contents of the Video 1.4/end directory.

Each time, all I've gotten is the "Loading ..." page; no "Hello World!" appears. Each time, I've followed the instructions in the video:

  • ran npm install in the directory.
  • made modifications as mentioned above.
  • ran gulp to serve these files locally.

Running it in end won't even transpile the app.components.ts into the corresponding *.js files. I was able to get TypeScript to transpile it in the start directory, but I'm unsure as to how this happened. I think it might have been my editing gulpfile.js line 16, which I changed to:

typescriptSource: [ './app/*.ts' ],

where it used to be typescriptSource: [ './app/**/*.ts' ],. The dir structure made that stand out as an issue, though I'm not sure if that will cause further problems.

Would you have any input as to what else might be wrong? I'll continue with the videos, and hope that this isn't too vital, though the excitement of not getting this simple app to run quickly has mellowed my enthusiasm.

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.