Code Monkey home page Code Monkey logo

ngsetgetissue's Introduction

Issue with ng get/set commands

Summary of sequence of commands used to create Dockerfile

apt-get install -y nodejs
npm install -g @angular/cli
ng version
ng new tryGetSet
cd tryGetSet

Instructions for running docker build

First setup angular/cli in docker by cloning this repo and running:

$ docker build -t my-ngcli-image .

Then, To test that docker build correctly installed @angular/cli and created a fresh angular-cli project, run:

$ docker run -it --rm --name my-ngcli-container my-ngcli-image  /usr/local/bin/ng version

Expected Output:

    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
@angular/cli: 1.0.0
node: 6.10.2
os: linux x64
@angular/common: 4.0.2
@angular/compiler: 4.0.2
@angular/core: 4.0.2
@angular/forms: 4.0.2
@angular/http: 4.0.2
@angular/platform-browser: 4.0.2
@angular/platform-browser-dynamic: 4.0.2
@angular/router: 4.0.2
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.2

To reproduce the ng get issue run:

$ docker run -it --rm --name my-ngcli-container my-ngcli-image  /usr/local/bin/ng get apps.0.root

Expected Output is src

Actual Output is Value cannot be found.

To reproduce the ng set issue run:

$ docker run -it --rm --name my-ngcli-container my-ngcli-image  /usr/local/bin/ng set apps.0.prefix newpfx

Problematic Output is Value cannot be found.

ngsetgetissue's People

Contributors

somombo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.