Welcome to my blog, where I intend to post on my various technical activities, from C#, Javascript and SQL development to future learning like TypeScript, Nodejs and others.
4 thoughts on “About”
Leave a Reply
OR
Registered users with one approved comment can comment without moderation
Hi I am also reading pro Angular JS.
I am struck at Chapter 7,
I have follwed your setps to run server.js, but no luck in browser i always see “cannot get /”.
I have installed wamp server, it is working good, but unable to resolver CORS issue,
Your help can be much appriciated
Hello Naresh
I must say I am at a loss. It’s possible it has something to do with wamp which I had not heard of before now, I was using nodejs plus Deployd to follow the book as closely as possible.
Thanks for your suggestion. I tired disabling wamp server.
But still i am not able to run server.js
contents of server.js
var connect = require(‘connect’);
var serveStatic = require(‘serve-static’);
var app = connect();
app.use(serveStatic(‘vendor/angular’), {default: ‘sports/index.html’}); app.listen(3000);
i have updated deployed version to latest(version 0.7.0) using
npm update under deployed folder.
After update i dont have any issues using wamp server with deployd. So that atleast i can continue reading book.
But still i am unable to run server.js which is no more required for me