Skip to content

How to deploy an app to githubpages #1902

@usmanwalana

Description

@usmanwalana

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    Mac OSX El Capitan
  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:
    angular-cli: 1.0.0-beta.11-webpack.8
    node: 6.4.0
    os: darwin x64
  3. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.
    Just made a fresh project using ng new
    I tried ng github-pages:deploy but error says no angular-cli-build.js was found.
    if i run ng build --prod same error
    Then in the docs i saw that angular-cli-build.js was removed
    In the docs i saw to run npm install --save-dev angular-cli@webpack after ng new so i did it and now it gives me error Cannot find module './models/config

Please guide how to make a fresh project and deploy to github

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