Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.

In QUICKSTART - unable to load web page in browser as per documentation #3458

Open
min-tcs opened this issue Mar 29, 2017 · 0 comments
Open

Comments

@min-tcs
Copy link

min-tcs commented Mar 29, 2017

I'm submitting a ... (check one with "x")

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

unable to load web page in browser.
Expected behavior

lite-server should load web page in browser.
Minimal reproduction of the problem with instructions
I followed the instruction given in QUICKSTART to run angular application.
I copied all code as given.
in bs-config.json
{
"server": {
"baseDir": "src",
"routes": {
"/node_modules": "node_modules"
}
}
}
after npm start command - I got error in bs-config.json line #2,

so I updated the code as:
module.exports = {
"server" :{
"baseDir": "./src",
"routes": {
"/node_modules": "node_modules"
}
}
}
and then tried npm start

it worked.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Angular version: 2.0.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    Microsoft Edge 38.14393.0.0
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

  • Node (for AoT issues): node --version = 3.10.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant