Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was 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

Description

@min-tcs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions