Closed naraharig closed 6 years ago
Thanks for posting the issue @naraharig. Will take a look shortly.
Could you please take a look at the newly published version (2.7.0)? I've added Put/Patch into routers.
after installing new version getting following error. after calling npm update also error persists.
node_modules/@types/bluebird/index.d.ts(39,49): error TS1005: ';' expected.
I am using Angular 5.
"dev": "concurrently --kill-others \"npm run server\" \"npm run start\""
}, "private": true, "dependencies": { "@angular/animations": "^5.2.11", "@angular/cdk": "^5.2.5", "@angular/common": "^5.2.11", "@angular/compiler": "^5.2.11", "@angular/core": "^5.2.11", "@angular/flex-layout": "^5.0.0-beta.14-17a70ee", "@angular/forms": "^5.2.11", "@angular/http": "^5.2.11", "@angular/material": "^5.2.5", "@angular/material-moment-adapter": "^5.2.5", "@angular/platform-browser": "^5.2.11", "@angular/platform-browser-dynamic": "^5.2.11", "@angular/router": "^5.2.11", "@ng-bootstrap/ng-bootstrap": "^1.1.2", "angular4-material-table": "^0.6.7", "bootstrap": "^4.1.2", "chart.js": "^2.7.2", "classlist.js": "^1.1.20150312", "core-js": "^2.5.7", "font-awesome": "^4.7.0", "hammerjs": "^2.0.8", "npm": "^6.2.0", "rxjs": "^5.5.11", "web-animations-js": "^2.3.1", "xlsx": "^0.12.13", "zone.js": "^0.8.26" }, "devDependencies": { "@angular/cli": "1.6.6", "@angular/compiler-cli": "^5.2.11", "@angular/language-service": "^5.2.11", "@angularclass/hmr": "^2.1.3", "@types/jasmine": "^2.8.8", "@types/jasminewd2": "~2.0.2", "@types/node": "^6.0.114", "codelyzer": "^4.4.2", "concurrently": "^3.6.0", "jasmine-core": "~2.8.0", "jasmine-spec-reporter": "~4.2.1", "karma": "^2.0.4", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "^1.4.3", "karma-jasmine": "^1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.1.2", "sp-rest-proxy": "^2.7.0", "ts-node": "~4.1.0", "tslint": "~5.9.1", "typescript": "~2.5.3" }
complete error shown below. node_modules/@types/bluebird/index.d.ts(39,52): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(40,29): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(40,51): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(40,55): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(40,62): error TS1005: ')' expected. [1] node_modules/@types/bluebird/index.d.ts(489,151): error TS1005: '>' expected. [1] node_modules/@types/bluebird/index.d.ts(489,173): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(489,176): error TS1005: '=' expected. [1] node_modules/@types/bluebird/index.d.ts(489,179): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(489,181): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected. [1] node_modules/@types/bluebird/index.d.ts(489,187): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(494,20): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(494,112): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(494,127): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(494,131): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(494,144): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(494,166): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(494,170): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(494,178): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(499,18): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(499,113): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(499,123): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(499,152): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(499,182): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(504,19): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(504,102): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(504,103): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(504,133): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(509,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(509,107): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(509,108): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(509,121): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(509,143): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(509,149): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(509,157): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(514,11): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(514,17): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(521,32): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(521,38): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(531,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(531,13): error TS1005: '{' expected. [1] node_modules/@types/bluebird/index.d.ts(531,19): error TS1005: ')' expected. [1] node_modules/@types/bluebird/index.d.ts(531,45): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(531,46): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(531,59): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(532,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(532,23): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(532,49): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(532,50): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(532,63): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(539,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(539,22): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(539,48): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(539,49): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(539,68): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(540,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(540,26): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(540,60): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(540,61): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(540,88): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(541,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(541,30): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(541,74): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(541,75): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(541,112): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(542,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(542,34): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(542,88): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(542,89): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(542,136): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(543,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(543,38): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(543,102): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(543,103): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(543,160): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(544,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(544,42): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(544,116): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(544,117): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(544,184): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(545,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(545,22): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(545,62): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(545,63): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(545,96): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(550,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(550,19): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(550,35): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(551,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(551,26): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(551,46): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(551,47): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(551,60): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(556,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(556,23): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(556,29): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(556,46): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(561,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(561,20): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(561,42): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(569,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(569,23): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(569,43): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(569,44): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(569,57): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(574,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(574,22): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(574,28): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(574,44): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(579,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(579,18): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(579,24): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(587,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(587,27): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(587,33): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(594,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(594,21): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(594,36): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(594,56): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(594,57): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(594,70): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(595,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(595,18): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(595,27): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(595,43): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(608,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(609,11): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(609,63): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(610,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(611,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(611,25): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(612,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(613,11): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(613,73): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(614,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(615,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(615,33): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(616,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(617,11): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(617,83): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(618,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(619,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(619,43): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(620,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(621,11): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(621,93): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(622,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(623,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(623,53): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(624,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(625,11): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(625,103): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(626,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(627,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(627,63): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(628,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(629,11): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(629,113): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(630,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(631,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(631,73): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(632,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(632,32): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(632,58): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(632,68): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(632,96): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(632,131): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(643,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(643,25): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(643,47): error TS1005: ')' expected. [1] node_modules/@types/bluebird/index.d.ts(643,60): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(643,93): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(643,94): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(648,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(648,27): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(648,81): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(648,91): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(648,118): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(648,133): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(649,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(649,30): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(649,82): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(649,92): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(649,119): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(649,132): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(650,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(650,31): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(650,85): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(650,95): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(650,122): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(650,137): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(651,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(651,34): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(651,86): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(651,96): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(651,123): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(651,136): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(661,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(662,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(662,53): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(663,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(664,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(664,25): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(665,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(666,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(666,59): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(667,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(668,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(668,31): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(669,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(670,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(670,67): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(671,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(672,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(672,39): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(673,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(674,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(674,75): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(675,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(676,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(676,47): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(677,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(678,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(678,83): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(679,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(680,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(680,55): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(681,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(682,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(682,91): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(683,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(684,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(684,63): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(685,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(686,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(686,99): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(687,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(688,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(688,71): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(689,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(690,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(690,107): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(691,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(692,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(692,79): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(693,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(694,24): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(694,115): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(695,15): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(696,6): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(696,87): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(703,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(703,46): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(703,69): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(703,75): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(713,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(713,47): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(713,95): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(713,96): error TS1005: ';' expected. [1] node_modules/@types/bluebird/index.d.ts(713,102): error TS1109: Expression expected. [1] node_modules/@types/bluebird/index.d.ts(722,3): error TS1128: Declaration or statement expected. [1] node_modules/@types/bluebird/index.d.ts(722,40): error TS1005: ',' expected. [1] node_modules/@types/bluebird/index.d.ts(722,59): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(722,81): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(722,103): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(722,125): error TS1005: '(' expected. [1] node_modules/@types/bluebird/index.d.ts(722,147): error TS1005: '(' expected.
Looks like you have no exclude
for node_modules
or/and no skipLibCheck
option in tsconfig.json
:
{
"compilerOptions": {
...
"skipLibCheck": true,
...
},
"exclude": [
"node_modules",
...
]
}
so TypeScript is going crazy.
That should not appear as no transpilation of sp-rest-proxy
library is happening when installing it as a dependency. @types/bluebird
is a dependency of a dependency and should not even be taken into TS compilation of your project and especially affect on runtime.
Could you try clean install of the dependencies?
rm -rf ./node_modules && rm ./package-lock.json && npm i
(removes node_modules
folder, package-lock.json
file and restores dependencies from package.json
)
Update SharePoint item is working now. Thank you so much for your valueble time Andrew Koltyakov.
package.json dependecies after update . @angular/flex-layout needs to be updated to version "@angular/flex-layout": "^5.0.0-beta.15"
"dependencies": { "@angular/animations": "^5.2.11", "@angular/cdk": "^5.2.5", "@angular/common": "^5.2.11", "@angular/compiler": "^5.2.11", "@angular/core": "^5.2.11", "@angular/flex-layout": "^5.0.0-beta.15", "@angular/forms": "^5.2.11", "@angular/http": "^5.2.11", "@angular/material": "^5.2.5", "@angular/material-moment-adapter": "^5.2.5", "@angular/platform-browser": "^5.2.11", "@angular/platform-browser-dynamic": "^5.2.11", "@angular/router": "^5.2.11", "@ng-bootstrap/ng-bootstrap": "^1.1.2", "angular4-material-table": "^0.2.0", "bootstrap": "^4.1.2", "chart.js": "^2.7.2", "classlist.js": "^1.1.20150312", "core-js": "^2.5.7", "font-awesome": "^4.7.0", "hammerjs": "^2.0.8", "npm": "^6.2.0", "rxjs": "^5.5.11", "web-animations-js": "^2.3.1", "xlsx": "^0.12.13", "zone.js": "^0.8.26" }, "devDependencies": { "@angular/cli": "1.6.6", "@angular/compiler-cli": "^5.2.11", "@angular/language-service": "^5.2.11", "@angularclass/hmr": "^2.1.3", "@types/jasmine": "^2.8.8", "@types/jasminewd2": "~2.0.2", "@types/node": "^6.0.114", "codelyzer": "^4.4.2", "concurrently": "^3.6.0", "jasmine-core": "~2.8.0", "jasmine-spec-reporter": "~4.2.1", "karma": "^2.0.4", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "^1.4.3", "karma-jasmine": "^1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.1.2", "sp-rest-proxy": "^2.7.0", "ts-node": "~4.1.0", "typescript": "^2.5.3", "tslint": "~5.9.1" } }
While updating request to SharePoint2013 on premises reveived following error _Http failure response for http://localhost:8085/_api/web/lists/getbytitle('ListName')/GetItemById('13'): 404 Not Found._ After deploying to sharepoint request is updated successfully. it occurs only when updating from local. For put and patch methods same issue occuring. const updateHeader = { headers: { "accept": 'application/json;odata=verbose', 'content-Type': 'application/json;odata=verbose', "X-Http-Method": "MERGE", 'data-type': 'json', 'If-Match': '*', } }; Thanks for your work Koltyakov.