heresy / angular2-social-login-example

angular2-social-login Example
13 stars 17 forks source link

Application does not start when i run "npm start" command #2

Open phanikiranwtc opened 7 years ago

phanikiranwtc commented 7 years ago

npm start

angular2-social-login-example@1.0.0 start /Users/phani/wtcprojects/angularapps/angular2-social-login-example-master tsc && concurrently "npm run tsc:w" "npm run lite"

node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2693: 'Map' only refers to a type, but is being used as a value here. node_modules/@angular/core/src/facade/lang.d.ts(13,17): error TS2693: 'Set' only refers to a type, but is being used as a value here. node_modules/@types/core-js/index.d.ts(39,27): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(47,36): error TS2304: Cannot find name 'Iterable'. node_modules/@types/core-js/index.d.ts(226,38): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(231,35): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(236,37): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(349,33): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(350,31): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(351,34): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(352,34): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(353,34): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(354,34): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(355,61): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(356,60): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(357,65): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(357,97): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(358,60): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(359,58): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(360,59): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(361,58): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(362,61): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(362,117): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(363,42): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(365,81): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(366,78): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(367,76): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(368,73): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(431,6): error TS2304: Cannot find name 'Symbol'. node_modules/@types/core-js/index.d.ts(431,26): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(464,59): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(465,59): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(466,42): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(467,48): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(468,69): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(472,40): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(474,48): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(494,55): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(495,45): error TS2304: Cannot find name 'PropertyKey'. node_modules/@types/core-js/index.d.ts(511,46): error TS2304: Cannot find name 'Iterable'. node_modules/@types/core-js/index.d.ts(512,43): error TS2304: Cannot find name 'Iterable'. node_modules/@types/core-js/index.d.ts(535,42): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(536,39): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(537,41): error TS2304: Cannot find name 'IterableIterator'. node_modules/@types/core-js/index.d.ts(623,16): error TS2304: Cannot find name 'MapConstructor'. node_modules/@types/core-js/index.d.ts(624,16): error TS2304: Cannot find name 'SetConstructor'. node_modules/@types/core-js/index.d.ts(625,20): error TS2304: Cannot find name 'WeakMapConstructor'. node_modules/@types/core-js/index.d.ts(626,20): error TS2304: Cannot find name 'WeakSetConstructor'. node_modules/@types/core-js/index.d.ts(627,20): error TS2304: Cannot find name 'PromiseConstructor'. node_modules/@types/core-js/index.d.ts(642,32): error TS2304: Cannot find name 'Iterable'. node_modules/@types/core-js/index.d.ts(646,39): error TS2304: Cannot find name 'Iterable'. node_modules/@types/core-js/index.d.ts(646,53): error TS2304: Cannot find name 'Iterator'. node_modules/@types/core-js/index.d.ts(1280,36): error TS2339: Property 'for' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1284,43): error TS2339: Property 'hasInstance' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1288,50): error TS2339: Property 'isConcatSpreadable' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1292,40): error TS2339: Property 'iterator' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1296,38): error TS2339: Property 'keyFor' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1300,37): error TS2339: Property 'match' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1304,39): error TS2339: Property 'replace' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1308,38): error TS2339: Property 'search' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1312,39): error TS2339: Property 'species' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1316,37): error TS2339: Property 'split' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1320,43): error TS2339: Property 'toPrimitive' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1324,43): error TS2339: Property 'toStringTag' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(1328,43): error TS2339: Property 'unscopables' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2059,36): error TS2339: Property 'for' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2063,43): error TS2339: Property 'hasInstance' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2067,50): error TS2339: Property 'isConcatSpreadable' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2071,40): error TS2339: Property 'iterator' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2075,38): error TS2339: Property 'keyFor' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2079,37): error TS2339: Property 'match' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2083,39): error TS2339: Property 'replace' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2087,38): error TS2339: Property 'search' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2091,39): error TS2339: Property 'species' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2095,37): error TS2339: Property 'split' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2099,43): error TS2339: Property 'toPrimitive' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2103,43): error TS2339: Property 'toStringTag' does not exist on type 'SymbolConstructor'. node_modules/@types/core-js/index.d.ts(2107,43): error TS2339: Property 'unscopables' does not exist on type 'SymbolConstructor'. node_modules/rxjs/Observable.d.ts(68,60): error TS2693: 'Promise' only refers to a type, but is being used as a value here.

npm ERR! Darwin 16.3.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v6.9.4 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! angular2-social-login-example@1.0.0 start: tsc && concurrently "npm run tsc:w" "npm run lite" npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the angular2-social-login-example@1.0.0 start script 'tsc && concurrently "npm run tsc:w" "npm run lite" '. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular2-social-login-example package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! tsc && concurrently "npm run tsc:w" "npm run lite" npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular2-social-login-example npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls angular2-social-login-example npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/phani/wtcprojects/angularapps/angular2-social-login-example-master/npm-debug.log

kurapatijayaram commented 7 years ago

Please pull the latest code and try.

raw-at commented 7 years ago

its still not working npm error are coming

infact commented 7 years ago

After getting the latest code, I ran npm install angular2-social-login --save then npm start and I am getting the similar errors as above. Pasted below are the logs

0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'start' ] 2 info using npm@5.3.0 3 info using node@v8.2.1 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle angular2-social-login-example@1.0.0~prestart: angular2-social-login-example@1.0.0 6 info lifecycle angular2-social-login-example@1.0.0~start: angular2-social-login-example@1.0.0 7 verbose lifecycle angular2-social-login-example@1.0.0~start: unsafe-perm in lifecycle true 8 verbose lifecycle angular2-social-login-example@1.0.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\abhis\Downloads\angular2socialexample\angular2sociallogineg\node_modules.bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\dotnet\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\abhis\AppData\Local\Microsoft\WindowsApps;C:\Users\abhis\AppData\Roaming\npm 9 verbose lifecycle angular2-social-login-example@1.0.0~start: CWD: C:\Users\abhis\Downloads\angular2socialexample\angular2sociallogineg 10 silly lifecycle angular2-social-login-example@1.0.0~start: Args: [ '/d /s /c', 10 silly lifecycle 'tsc && concurrently "npm run tsc:w" "npm run lite" ' ] 11 silly lifecycle angular2-social-login-example@1.0.0~start: Returned: code: 2 signal: null 12 info lifecycle angular2-social-login-example@1.0.0~start: Failed to exec start script 13 verbose stack Error: angular2-social-login-example@1.0.0 start: tsc && concurrently "npm run tsc:w" "npm run lite" 13 verbose stack Exit status 2 13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:289:16) 13 verbose stack at emitTwo (events.js:125:13) 13 verbose stack at EventEmitter.emit (events.js:213:7) 13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14) 13 verbose stack at emitTwo (events.js:125:13) 13 verbose stack at ChildProcess.emit (events.js:213:7) 13 verbose stack at maybeClose (internal/child_process.js:921:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 14 verbose pkgid angular2-social-login-example@1.0.0 15 verbose cwd C:\Users\abhis\Downloads\angular2socialexample\angular2sociallogineg 16 verbose Windows_NT 10.0.15063 17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start" 18 verbose node v8.2.1 19 verbose npm v5.3.0 20 error code ELIFECYCLE 21 error errno 2 22 error angular2-social-login-example@1.0.0 start: tsc && concurrently "npm run tsc:w" "npm run lite" 22 error Exit status 2 23 error Failed at the angular2-social-login-example@1.0.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 2, true ]