Click here to Skip to main content
15,891,017 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to bypass fields that have required validation to go to next page Pin
bVagadishnu8-Dec-16 8:24
bVagadishnu8-Dec-16 8:24 
GeneralRe: How to bypass fields that have required validation to go to next page Pin
Bootzilla338-Dec-16 17:02
Bootzilla338-Dec-16 17:02 
AnswerRe: How to bypass fields that have required validation to go to next page Pin
Richard Deeming9-Dec-16 2:42
mveRichard Deeming9-Dec-16 2:42 
QuestionCall JavaScript function from c# code in cshtml Pin
sunsher7-Dec-16 19:56
sunsher7-Dec-16 19:56 
AnswerRe: Call JavaScript function from c# code in cshtml Pin
F-ES Sitecore8-Dec-16 0:40
professionalF-ES Sitecore8-Dec-16 0:40 
GeneralRe: Call JavaScript function from c# code in cshtml Pin
sunsher8-Dec-16 10:47
sunsher8-Dec-16 10:47 
GeneralRe: Call JavaScript function from c# code in cshtml Pin
F-ES Sitecore8-Dec-16 22:29
professionalF-ES Sitecore8-Dec-16 22:29 
Questionnpm install is not installing and erroring continuosly Pin
indian1437-Dec-16 10:49
indian1437-Dec-16 10:49 
Hi,

I am trying to run npm install, I'm not sure what's it, all I doing is following an article to make my application workable with Angular 2.0, but its never stopping giving me errors. I don't know why is so tough to install it.

I have created package.json file, copied the following script init. ABCSolution is my solution name and ABCWebApp is my asp.net mvc application name, I don't know which one should I use for the name there, I putting the Solution Name
{
  "version": "1.0.0",
  "name": "ABCSolution",
  "author": "Abdul Aleem",
  "description": "This is for Calpers834",
  "dependencies": {
    "@angular/common": "2.0.0-rc.5",
    "@angular/compiler": "2.0.0-rc.6",
    "@angular/core": "2.0.0-rc.6",
    "@angular/forms": "2.0.0-rc.6",
    "@angular/http": "2.0.0-rc.6",
    "@angular/platform-browser": "2.0.0-rc.6",
    "@angular/platform-browser-dynamic": "2.0.0-rc.6",
    "@angular/router": "3.0.0-rc.2",
    "@angular/upgrade": "2.0.0-rc.6",
    "@types/lodash": "^4.14.42",
    "core-js": "^2.4.1",
    "moment": "^2.14.1",
    "reflect-metadata": "^0.1.3",
    "rxjs": "5.0.0-beta.6",
    "systemjs": "^0.19.37",
    "typings": "^1.3.2",
    "zone.js": "^0.6.12"
  },
  "devDependencies": {
    "gulp": "^3.9.1",
    "gulp-clean": "^0.3.2",
    "gulp-concat": "^2.6.0",
    "gulp-less": "^3.1.0",
    "gulp-sourcemaps": "^1.6.0",
    "gulp-typescript": "^2.13.6",
    "gulp-uglify": "^2.0.0",
    "typescript": "^1.8.10"
  },
  "scripts": {
    "postinstall": "typings install dt~core-js --global"
  }
}

I have created typings.json file and placed the following script there
{
  "globalDependencies": {
    "core-js": "registry:dt/core-js#0.0.0+20160602141332",
    "jasmine": "registry:dt/jasmine#2.2.0+20160621224255",
    "node": "registry:dt/node#6.0.0+20160621231320"
  }
}
I placed them in the Project folder first and ran the npm install from that same folder it gave me errors, then I placed these files in the Solution files, then ran the npm install, never leaving the errors.
I am frustrated and tired, I am not understanding what are those dependencies are what are those versions in them.

Can anybody please help me in this aspect, what went wrong, I really need this help a suggestion, a link or even a code snippet helps me greatly. What's this npm install why is it making my life so tired, I don't know.

And the error that I getting is as below:
npm ERR! peerinvalid The package @angular/common does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/forms@2.0.0-rc.6 wants @angular/common@^2.0.0-rc.6
npm ERR! peerinvalid Peer @angular/platform-browser@2.0.0-rc.6 wants @angular/common@^2.0.0-rc.6
npm ERR! peerinvalid Peer @angular/platform-browser-dynamic@2.0.0-rc.6 wants @angular/common@^2.0.0-rc.6
npm ERR! peerinvalid Peer @angular/router@3.0.0-rc.2 wants @angular/common@^2.0.0-rc.6

And if I am running "npm run typings install" in either the Project folder or Solution folder, then its giving me the following error:
npm ERR! missing script: typings
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\aaleem01\Desktop\Calpers834\npm-debug.log
Thanks,

Abdul Aleem

"There is already enough hatred in the world lets spread love, compassion and affection."


modified 7-Dec-16 17:19pm.

QuestionEdit not working Pin
sunsher7-Dec-16 0:57
sunsher7-Dec-16 0:57 
AnswerRe: Edit not working Pin
Vincent Maverick Durano7-Dec-16 2:11
professionalVincent Maverick Durano7-Dec-16 2:11 
AnswerRe: Edit not working Pin
Richard Deeming7-Dec-16 2:13
mveRichard Deeming7-Dec-16 2:13 
AnswerRe: Edit not working Pin
jkirkerx7-Dec-16 8:38
professionaljkirkerx7-Dec-16 8:38 
QuestionAngularJS 2.0 with MVVM and C# Pin
indian1436-Dec-16 14:00
indian1436-Dec-16 14:00 
AnswerRe: AngularJS 2.0 with MVVM and C# Pin
Vincent Maverick Durano7-Dec-16 2:12
professionalVincent Maverick Durano7-Dec-16 2:12 
GeneralRe: AngularJS 2.0 with MVVM and C# Pin
indian1437-Dec-16 11:07
indian1437-Dec-16 11:07 
GeneralRe: AngularJS 2.0 with MVVM and C# Pin
Vincent Maverick Durano8-Dec-16 1:24
professionalVincent Maverick Durano8-Dec-16 1:24 
GeneralRe: AngularJS 2.0 with MVVM and C# Pin
indian1438-Dec-16 6:38
indian1438-Dec-16 6:38 
QuestionQuick and Dirty Web Forms Pin
DrMaltz5-Dec-16 11:55
DrMaltz5-Dec-16 11:55 
AnswerRe: Quick and Dirty Web Forms Pin
ZurdoDev6-Dec-16 6:05
professionalZurdoDev6-Dec-16 6:05 
GeneralRe: Quick and Dirty Web Forms Pin
DrMaltz13-Dec-16 8:53
DrMaltz13-Dec-16 8:53 
GeneralRe: Quick and Dirty Web Forms Pin
Wastedtalent15-Dec-16 2:31
professionalWastedtalent15-Dec-16 2:31 
QuestionThoughts about creating some sort of hash for a duplicate online order Pin
jkirkerx5-Dec-16 10:21
professionaljkirkerx5-Dec-16 10:21 
QuestionSingle Sign On with ASP.Net Identity Pin
Chandra_NVS5-Dec-16 5:40
Chandra_NVS5-Dec-16 5:40 
AnswerRe: Single Sign On with ASP.Net Identity Pin
Afzaal Ahmad Zeeshan5-Dec-16 5:54
professionalAfzaal Ahmad Zeeshan5-Dec-16 5:54 
GeneralRe: Single Sign On with ASP.Net Identity Pin
Chandra_NVS5-Dec-16 6:08
Chandra_NVS5-Dec-16 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.