Search Posts

Category: npm

Error: spawn mkdir ENOENT in node-run-cmd

I am trying to run command line inside app file. For that i have installed the package node-run-cmd and i have included the file inside the app.js file. Here is my code for testing the code, var nrc = require(‘node-run-cmd’);‘mkdir foo’).then(function(exitCodes) { console.log(exitCodes); }, function(err) { console.log(‘Command failed to run with error: ‘, err); }); When i run the above code using http://localhost:5000/api/folder. Then i am getting an error like, [ { Error: spawn […]

Angular 1x to Angular 5 with visual studio [duplicate]

This question already has an answer here: Migrating Angular 1 to Angular 4 [closed] 1 answer Angular 2+ can't find Angular 1.X to bootstrap 3 answers I Maintain a fairly old project that uses the following: Angular 1.6 Asp .net about 1/2 of the code is written on typescript. The rest is javascript Types (angular.d.ts for example) seemed to be copied to the project by hand and not using “typings” or “npm” Visual studio 2015 […]

Kendo Angular Grid Issue while installing using npm

I’m willing to use kendo-angular-grid for my Angular 5.2 application. According to the changelogs of Kendo, the latest version of it is 2.0.0. But when I’m installing the package using the command npm install –save @progress/kendo-angular-grid, an older version of 1.2.1 is getting installed. I have tried to install the package by specifying the version as well – npm install –save @progress/[email protected] But it’s showing the following error No matching version found for @progress/kendo-angular-grid[email protected] My […]

Getting error while installing angular cli to create angular2 project

I am trying to create the first angular2 project and did some installation process which are given below. npm install -g angular-cli ng new my-new-app After running above command I am getting the following error. 2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test’ npm WARN tar ENOENT: no such file or directory, lstat ‘/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test’ npm WARN tar ENOENT: no such file or directory, lstat ‘/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test’ npm WARN tar ENOENT: no such file or directory, lstat ‘/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test’ npm WARN tar ENOENT: no such […]

Cannot find module ‘true-case-path’

I am not able to run npm start am getting the below error E:angular2projects2018angularFlex>npm install > [email protected] install E:angular2projects2018angularFlexnode_modulesnode-sass > node scripts/install.js module.js:471 throw err; ^ Error: Cannot find module ‘true-case-path’ at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (E:angular2projects2018angularFlexnode_modulesnode-sasslibextensions.js:11:22) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) Source: AngularJS

Getting “npm ERR! code ENOVERSIONS” on ng new project

Whenever I am lanching any angular new prject I am getting this error. npm ERR! code ENOVERSIONS npm ERR! No valid versions available for timed-out For example:- ng new training-app installing ng2 create .editorconfig create create srcappapp.component.css create srcappapp.component.html create srcappapp.component.spec.ts create srcappapp.component.ts create srcappapp.module.ts create srcassets.gitkeep create create srcenvironmentsenvironment.ts create srcfavicon.ico create srcindex.html create srcmain.ts create srcpolyfills.ts create srcstyles.css create srctest.ts create srctsconfig.json create angular-cli.json create e2eapp.e2e-spec.ts create e2eapp.po.ts create e2etsconfig.json create […]

No matching version found for [email protected]^1.1.0 [duplicate]

This question already has an answer here: Error installing Angular using npm due to require-from-string 5 answers Dependencies for npm project: “dependencies”: { “angular-chart.js”: “1.1.0”, “angular-cookies”: “1.5.7”, “angular-ui-bootstrap”: “2.4.0”, “angular-ui-grid”: “4.0.5”, “checklist-model”: “0.10.0”, “json-schema”: “0.2.2” } And npm install stops to work with the following error: npm ERR! code ETARGET npm ERR! notarget No matching version found for [email protected]^1.1.0 npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! […]

Yeoman/Gulp throwing ‘spawn gulp ENOENT’ error on a Mac

Please note: I do see this question as well as this one but those were both instances where the developer was on Windows, and the solution was Windows-specific. I am on a Mac! Please don’t closevote as a duplicate!!! Mac 10.12.6 here. I’m new to AngularJS (v1.x) and am trying to follow this tutorial on using Yeoman to create an internationalized AngularJS app. I install the Yeoman AngularJS generator and create a directory for my […]

Next Page »