Data dodania Pytanie
2018-02-08 12:02 Angular CLI gives me "TypeError: callbacks[i] is not a function" when I "ng serve" »
I literally just made a fresh installation of the Angular CLI in order to try it out and I don't have a clue on what's causing the following error on ...
(12) odpowiedzi
2018-01-23 05:01 Cannot find module '@angular-devkit/core' »
I have created a angular project with Angular CLI: 1.6.3 Node: 9.4.0 OS: linux x64 version. But when want to run my angular app with command ng serve...
(6) odpowiedzi
2018-01-12 00:01 Angular CLI ng new error »
I've installed node from https://nodejs.org/en/download and then I installed angular CLI via NPM using npm install -g @angular/cli After it's don...
(5) odpowiedzi
2018-01-06 20:01 Error installing Angular using npm due to require-from-string »
How to resolve this error as I am not able to install Angular. Please see the below exception: C:\Users\absin\node>npm install -g @angular/cli np...
(6) odpowiedzi
2017-12-10 18:12 D3.js Angular CLI, Scope lost in tick() method »
Hello guys, I am trying to integrate a D3 visualization network graph into an Angular CLI project (http://bl.ocks.org/mbostock/1153292) using the ng2...
(1) odpowiedzi
2017-12-04 05:12 How is the Angular framework loaded into an application with Angular CLI? »
I'm converting an existing AngularJS application to a hybrid application, to begin incrementally upgrading it to Angular 4. I want to understand how A...
(2) odpowiedzi
2017-11-05 22:11 Custom Angular setup for MIT library/project »
Hi I need your help trying to figure it out something. First a little background, I was used to code in Django, it was fast to code and good, but tim...
(0) odpowiedzi
2017-10-10 17:10 What does the angular compiler "compile"? »
I was asked that today and was not able to give a proper answer. Typescript transpiles to JS. Then there is tree shaking, "less" (optional) and what ...
(4) odpowiedzi
2017-10-02 20:10 Error FB is not defined Facebook login with Angular2 (CLI) »
I want to use Facebook authentication as an Angular service. With this code I'm able to login/logout but when I login and refresh the page the variab...
(1) odpowiedzi
2017-09-28 04:09 How does git relate with npm? | npm ERR! Failed using git. | material.angular.io »
Angular 4 cli, I run this command to install Angular Material (npm install --save angular/material2-builds angular/cdk-builds) but it is showing an er...
(2) odpowiedzi
2017-09-22 08:09 Do not work socket.io-client with Angular2 when server emit event to specific client (different angular2 service) »
I created two service send-message.service.ts import { Injectable } from "@angular/core"; import * as io from 'socket.io-client'; @Injectable() expo...
(1) odpowiedzi
2017-08-15 21:08 How to configure a proxy in Angular CLI »
I created a new @angular/cli project and added one http GET call in the root component. Without using a proxy this works fine. export class AppCompon...
(1) odpowiedzi
2017-08-04 16:08 How to build angular 4 apps in nginx or apache httpd? »
Hi I am trying to build the Angular 4 app, steps followed is below - Build ng build In my amazon ec2 instance I am running apache. Steps followed -...
(1) odpowiedzi
2017-07-27 01:07 jQuery is not defined in bootstrap-sass »
I bootstrapped the Angular 2 app using angular-cli. Everything was easy-peasy until I decided to use bootstrap modal. I simply copied the code for ope...
(3) odpowiedzi
2017-07-19 11:07 How to include all .less files in angular-cli.json styles section? »
So the problem I have is that each time after I create a new component, I have to remember to add it's .less stylesheet to angular-cli.json file. What...
(1) odpowiedzi
2017-06-04 21:06 Google chrome developer tools not showing source files »
I am trying to debug my angular-cli project but source tab in google chrome developer tools is empty. In the "content script" section is "top" dro...
(0) odpowiedzi
2017-05-02 18:05 Integrate @angular/cli with server-side EJS templates »
Goal: Modify Open Graph meta tags when web crawlers visit different routes. I know Angular2 4.0.0 has a MetaService, and there is always jQuery, but ...
(0) odpowiedzi
2017-04-02 10:04 Angular2 build under angular-cli with directive and ng build --prod »
I have an angular-cli app, npm -v 3.10.8 node -v v6.9.1 angular2 ^2.4.0 angular/cli 1.0.0-beta.32.3 when I add to package.json this "angular2-aut...
(1) odpowiedzi
2017-03-08 16:03 Web application with Angular CLI does not display bootstrap-sass glyphicons »
I have an application I created with Angular CLI, and I am using bootstrap-sass to customize the theme. I am using the following versions... node: 6....
(1) odpowiedzi
2017-02-10 19:02 ng new my-app unexpected token = »
I have installed the angular2 cli via npm, but when I try to create a new typescript angular app with the command 'ng new my-app' I keep getting this ...
(1) odpowiedzi
2017-01-26 15:01 Routing an Angular 2 app with Web API »
I have an Angular 2 application created with Angular CLI. This has to call a .NET 4.6 Web API. The route setup of this is driving me nuts. For Angula...
(2) odpowiedzi
2016-12-29 23:12 How not to include mock services in Angular2 production bundle »
When building an angular 2 app for production we use ng build --prod --w --aot But our mock services also get bundled and minified probably becaus...
(0) odpowiedzi
2016-12-27 01:12 In Angular-Cli WebPack scripts, i want to reorder the bundled scripts »
I working on Angular2 project. I used Angular-CLI to scaffold my angular app. Angular-CLI by default use WebPack to handle a lot of things and one of...
(1) odpowiedzi
2016-12-11 20:12 Keeping CSS out of JS in Angular 2/Angular-CLI »
By default, Angular 2 compiles the CSS into JavaScript, especially when using WebPack as in Angular-CLI. I would rather this not happen for a couple o...
(1) odpowiedzi
2016-11-14 14:11 Copy html file in wwwroot »
I've created empty asp.net core application. after that I install angular2 application there using angular-cli. Now I faced a problem. on startup it l...
(2) odpowiedzi
2016-11-03 19:11 How to import bootstrap 3.3.7 module - to be used in angular2 component »
I have a trouble importing bootstrap 3.3.7 module and use it: In package.json: i have bootstrap 3.3.7 as dependency: { "name": "plan", "version"...
(2) odpowiedzi
2016-10-06 23:10 How to reduce the file size of production code Angular 2.0 »
I'm using Angular-Cli with its default project. I'm trying to get a production version of code, so I'm running --prod and at the output I see 911 KB,...
(1) odpowiedzi
2016-09-17 22:09 Angular 2 + angular-cli + Laravel 5.3 »
Using latest angular-cli, I created new project and everything works fine. Next, I tried to integrate it in Laravel 5.3. I have this project working w...
(0) odpowiedzi
2016-09-17 03:09 error while creating new project with Angular-cli »
When I am trying to create new project by using the command, ng new project-name, I am getting error like below: fs.js:640 return binding.open(...
(2) odpowiedzi
2016-06-26 15:06 Error: Cannot find module 'lodash' in angular-cli? »
OS Mac OSX El Capitan Versions angular-cli: 1.0.0-beta.8 , node: 6.2.0, os: darwin x64 Description I tried to add lodash library in angular-cli...
(1) odpowiedzi