Comments (4)
You have to run this on the server eg. localhost
from egghead-angularjs-from-scratch-getting-started.
For anyone looking, I had the same issue and had to get help. Let me share what I learned.
Using http-server
was the solution for me. (You'll need npm
installed globally for this.)
npm install -g http-server
After installing http-server
, in your terminal cd
into the local directory for this repo. From there, you can run http-server
in the command line.
If you have a document called index.html
, you can just enter the command by itself:
http-server
Then in your browser go to localhost:8080
and you should see the site running.
However, this Eggly tutorial doesn't have an index.html
so you'll need to make one or rename one of the existing files.
http-server
may provide a way to run the site from another file (like, index.complete.html
), but I'm not aware of how to do that.
Hope this helps!
from egghead-angularjs-from-scratch-getting-started.
you can use
http-server -o
to open the browser after the http server starts and you will see an index of the files. From there you can select index.complete.html
, etc.
from egghead-angularjs-from-scratch-getting-started.
These are great solutions, I personally use live-server or httpster!
npm install -g live-server
or
npm install -g httpster
from egghead-angularjs-from-scratch-getting-started.
Related Issues (10)
- wrong initial state HOT 3
- index.start.html and index.final.html is same file HOT 2
- The bootstrap CDN not found HOT 1
- Normalize CSS hgroup Error HOT 2
- Current category of a new bookmark is not set HOT 3
- Start files and Finish files the same. HOT 3
- Help HOT 1
- Does not remove "active" class from edited bookmark after edit is closed out of HOT 1
- Angular 1.3.10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from egghead-angularjs-from-scratch-getting-started.