Coder Social home page Coder Social logo

angular-first-look-examples's Introduction

Hello ๐Ÿ‘‹

Twitter

angular-first-look-examples's People

Contributors

johnpapa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-first-look-examples's Issues

Using the Filter Service with a Nested Array

Hey - first off thank you for this repo and the videos on pluralsight; both have been a tremendous help! I'm not sure if this where we can shoot you questions so forgive me if this is the wrong forum. So this a little outside the scope of your example, but I was wondering if you can help me expand your filter service to search through a nested json.

For instance take this scenario - Each character has one or more vehicles and our character table is slightly more complex with a nested ngFor to show the vehicles per character. How would you expand the filter service to also check the the vehicles array ?

This is the scenario I'm struggling with in my project at the moment and have been chasing my tail trying to figure it out haha. It's probably something simple but I can't seem to get it

Error on npm start within examples

After following the instructions and doing the npm install , I am getting the following output upon npm start. I did verify that Typescript 2.1 is installed. I have attached npm-debug txt

c:\Development\Pluralsight\ng-ex_examples\component-simple>npm start

[email protected] start c:\Development\Pluralsight\ng-ex_examples\component-simple
npm run tsc && concurrently "npm run tsc:w" "npm run lite"

[email protected] tsc c:\Development\Pluralsight\ng-ex_examples\component-simple
tsc

'concurrently' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: npm run tsc && concurrently "npm run tsc:w" "npm run lite"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'npm run 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 a2-first-look package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run 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 a2-first-look
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls a2-first-look
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request:
npm ERR! c:\Development\Pluralsight\ng-ex_examples\component-simple\npm-debug.log


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 [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]
6 silly lifecycle [email protected]
prestart: no script for prestart, continuing
7 info lifecycle [email protected]start: [email protected]
8 verbose lifecycle [email protected]
start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]start: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;c:\Development\Pluralsight\ng-ex_examples\component-simple\node_modules.bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Common Files\Acronis\VirtualFile;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files (x86)\Skype\Phone;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files\Git\cmd;C:\Users\sawardekar\AppData\Local\Microsoft\WindowsApps;C:\Users\sawardekar\AppData\Roaming\npm;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.1
10 verbose lifecycle [email protected]
start: CWD: c:\Development\Pluralsight\ng-ex_examples\component-simple
11 silly lifecycle [email protected]start: Args: [ '/d /s /c',
11 silly lifecycle 'npm run tsc && concurrently "npm run tsc:w" "npm run lite" ' ]
12 silly lifecycle [email protected]
start: Returned: code: 1 signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: npm run tsc && concurrently "npm run tsc:w" "npm run lite"
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:885:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd c:\Development\Pluralsight\ng-ex_examples\component-simple
17 error Windows_NT 10.0.14393
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
19 error node v7.4.0
20 error npm v4.0.5
21 error code ELIFECYCLE
22 error [email protected] start: npm run tsc && concurrently "npm run tsc:w" "npm run lite"
22 error Exit status 1
23 error Failed at the [email protected] start script 'npm run tsc && concurrently "npm run tsc:w" "npm run lite" '.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the a2-first-look package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error npm run tsc && concurrently "npm run tsc:w" "npm run lite"
23 error You can get information on how to open an issue for this project with:
23 error npm bugs a2-first-look
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls a2-first-look
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Setup issue with gulpfile.js

I had to edit line 545 in gulpfile.js to get the application working:
spawnInfo = spawnExt('npm', ['install', ...sources], {cwd: EXAMPLES_PATH});
to
spawnInfo = spawnExt('npm', ['install', sources], {cwd: EXAMPLES_PATH});

Note: changed ...sources to just sources
Joe

error TS2315: Type 'Observable' is not generic.

ERROR in node_modules/@angular/common/http/src/backend.d.ts(24,45): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/backend.d.ts(37,45): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(67,40): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(91,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(114,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(137,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(161,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(185,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(208,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(231,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(254,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(277,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(299,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(321,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(344,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(367,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(390,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(413,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(435,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(456,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(477,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(498,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(520,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(542,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(564,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(586,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(608,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(629,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(650,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(671,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(693,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(714,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(735,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(756,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(777,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(798,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(819,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(841,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(862,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(883,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(904,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(924,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(946,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(968,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(990,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1012,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1034,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1056,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1077,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1098,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1119,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1140,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1162,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1184,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1205,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1227,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1249,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1271,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1293,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1315,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1337,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1359,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1380,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1402,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1411,48): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1424,51): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1445,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1466,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1487,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1509,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1531,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1553,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1575,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1597,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1619,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1641,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1663,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1685,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/common/http/src/client.d.ts(1707,9): error TS2315: Type 'Observable' is not generic.
node_modules/@angular/commo

Compile errors when starting example

I'm trying to run the storyline-tracker example and get the following compile errors after "npm start":

../node_modules/@angular/common/src/directives/ng_class.d.ts(48,34): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/common/src/pipes/async_pipe.d.ts(44,38): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/aot/compiler.d.ts(32,38): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/aot/compiler.d.ts(44,32): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/compiler/src/aot/compiler_host.d.ts(20,33): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/compile_metadata.d.ts(342,20): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/compiler/src/compile_metadata.d.ts(344,28): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/compiler/src/compile_metadata.d.ts(346,15): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/compiler/src/compile_metadata.d.ts(348,23): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/compiler/src/compile_metadata.d.ts(350,17): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/compiler/src/compile_metadata.d.ts(352,25): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/compiler/src/directive_normalizer.d.ts(38,72): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/directive_normalizer.d.ts(40,74): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/i18n/extractor.d.ts(14,33): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/i18n/extractor.d.ts(22,35): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/jit/compiler.d.ts(44,49): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/jit/compiler.d.ts(46,65): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/metadata_resolver.d.ts(58,104): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/output/output_ast.d.ts(433,63): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/compiler/src/resource_loader.d.ts(13,23): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/util.d.ts(33,18): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/compiler/src/util.d.ts(34,46): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/application_init.d.ts(16,18): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/application_ref.d.ts(116,67): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/application_ref.d.ts(132,101): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/application_ref.d.ts(158,67): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/application_ref.d.ts(160,101): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(28,16): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/core/src/di/reflective_provider.d.ts(88,123): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/core/src/di/reflective_provider.d.ts(88,165): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/core/src/facade/lang.d.ts(13,17): error TS2304: Cannot find name 'Set'.
../node_modules/@angular/core/src/linker/compiler.d.ts(53,49): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/linker/compiler.d.ts(61,65): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/linker/ng_module_factory_loader.d.ts(14,34): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/linker/system_js_ng_module_factory_loader.d.ts(28,25): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/core/src/util/lang.d.ts(8,53): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/http/src/headers.d.ts(52,59): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/http/src/url_search_params.d.ts(46,16): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl.d.ts(10,23): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/platform-browser/src/browser/browser_adapter.d.ts(79,33): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/platform-browser/src/dom/dom_adapter.d.ts(97,42): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/platform-browser/src/dom/dom_renderer.d.ts(22,37): error TS2304: Cannot find name 'Map'.
../node_modules/@angular/router/src/config.d.ts(307,85): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/interfaces.d.ts(78,99): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/interfaces.d.ts(157,109): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/interfaces.d.ts(227,115): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/interfaces.d.ts(297,89): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/interfaces.d.ts(367,50): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/router.d.ts(392,70): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/router.d.ts(414,59): error TS2304: Cannot find name 'Promise'.
../node_modules/@angular/router/src/utils/collection.d.ts(36,79): error TS2304: Cannot find name 'Promise'.
../node_modules/rxjs/Observable.d.ts(68,60): error TS2304: Cannot find name 'Promise'.
../node_modules/rxjs/Observable.d.ts(68,70): error TS2304: Cannot find name 'Promise'.
../node_modules/rxjs/observable/PromiseObservable.d.ts(40,31): error TS2304: Cannot find name 'Promise'.
../node_modules/rxjs/observable/PromiseObservable.d.ts(41,26): error TS2304: Cannot find name 'Promise'.
../node_modules/rxjs/operator/toPromise.d.ts(2,60): error TS2304: Cannot find name 'Promise'.
../node_modules/rxjs/operator/toPromise.d.ts(3,79): error TS2304: Cannot find name 'Promise'.
../node_modules/rxjs/operator/toPromise.d.ts(3,89): error TS2304: Cannot find name 'Promise'.
app/core/can-deactivate-guard.service.ts(25,36): error TS2304: Cannot find name 'Promise'.
app/core/can-deactivate-guard.service.ts(26,13): error TS2304: Cannot find name 'Promise'.
app/core/entity.service.ts(6,19): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
app/core/entity.service.ts(9,54): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
app/core/entity.service.ts(11,73): error TS2339: Property 'find' does not exist on type 'string[]'.
app/core/modal/modal.component.ts(41,23): error TS2304: Cannot find name 'Promise'.
app/core/modal/modal.service.ts(5,51): error TS2304: Cannot find name 'Promise'.

I was able to correct it after following the instructions here http://stackoverflow.com/questions/35660498/angular-2-cant-find-promise-map-set-and-iterator

Is this expected? Or did something change...or maybe I need to have something else installed?

Build and run issues with npm install

After cloning the repo from here and typing npm install, I got the following fatal errors:

  1. typings script
> typings install
sh: typings: command not found

For now, I simply removed the references to this script within the npm script tag, though I am sure this is not the solution.

  1. Application loading stuck on 404 due to incorrect path of main.js

Changing line 10 of systemjs.config.js from 'main': 'app/main.js',to 'main': 'main.js', fixed the problem.

Please let me know whether there are quick fixes to these issues.
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.