Search Posts

Category: npm

Angularjs 2 installation Methods

I have one angularjs 2 UI (without node modules) which i have to integrate with my backend. After installing Angular cli, Can i simply do npm install in the angularjs 2 directory folder as it have package.json or create a new app after installing angular cli and then do npm install for some node modules specific to my angularjs project. Will the first approach Work successfully as it is easier Source: AngularJS

Error blank page with gulp dist:serve

vendor-bed50f88.js:31 Uncaught Error: [$injector:modulerr] Failed to instantiate module angularMaterialAdmin due to: Error: [$injector:nomod] Module ‘angularMaterialAdmin’ is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.6.4/$injector/nomod?p0=angularMaterialAdmin http://errors.angularjs.org/1.6.4/$injector/modulerr? Source: AngularJS

How to install an npm package locally

I have downloaded the following demo and ng2-archwizard I would like to make changes to make local change to the source for ng2-archwizard and install the package locally for this demo project. The first thing that I tried was npm link by following these steps Inside ng2-archwizard I made code changes and ran npm link Inside the demo project I installed ng2-archwizard using npm link pathtong2-archwizard or just npm link ng2-archwizard When I run ng […]

without using angular cli is it possible to build

I am new to angular. when I try to run ng build –prod. I am getting below error *This version of CLI is only compatible with angular version 2.3.1 or better. Please upgrade your angular version, e.g. by running: npm install @angular/[email protected]* installed latest angular core and cli but still I am not able to build. is it anyway we can build it without angular cli in prod mode. do I need to install any […]

including npm package in an ui application

I am new to angular js I am trying to implement angular logger in my application. like when the api call is not happening I need to log a message. write now I have included logger in my UI but I was not successful https://www.npmjs.com/package/angular-logger I am getting error…can you tell me how to fix it angular.js:63 Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to: Error: [$injector:nomod] Module ‘app’ is not available! You […]

simple angularjs application run IIS

I am creating simple angularjs Web application, but I want to deploy my Web application in IIS, it’s not working properly I am searching 3 to hours but doesn’t success. how to work this project on IIS. if you need anything else for understand I am here. I share Two images for you understand my problem README.md ## npm install -g http-server go to project the main folder where index.html exists and run the command […]

Error while using the Loaders in AngularJS

I am working on AngularJS project and while I am trying to use loaders and compile my project using npm I am getting the following error ERROR in ./~/css-loader?{“sourceMap”:true}!./~/postcss-loader/lib?{“sourceMap”:true}!./~/sass-loader/lib/loader.js?{“includePaths”:[“C://Users//DELL//Desktop//sai//viandd//ecommerce_webapp//~//bootstrap//scss”],”sourceMap”:true}!./src/app/modules/order/order.scssModule build failed:undefined ^ Argument `$color` of `darken($color, $amount)` must be a color As I am new to this. Can anyone please help me out in solving this? I ll also post the code of my loaders in webpack.config.js { // SASS test: /.(sass|scss)$/, loader: isTest ? […]