Git Product home page Git Product logo

aspdotnet-core-and-angular-2's Introduction

ASP.NET Core and Angular 2

This is the code repository for ASP.NET Core and Angular 2, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

IMPORTANT: The master branch will work with Visual Studio 2015: if you're using VS2017, please use the master_VS2017 branch.

Instructions and Navigation

These represents the various "stages" of the application, from Chapter 01 to Chapter 10.

Each project can be opened independently using the included OpenGameList_ChapterXX.sln file, or they can be opened alltogheter within a single solution using the OpenGameList.sln file.

Some chapters (3 and 5) have two projects each, splitted into Part 1 and Part 2, because they both contain a huge code refactoring.

The project ending with _Chapter10 is meant to be the "final" source code of the application by the end of the book.

Software Hardware Requirements:

Chapter number Software required (With version) Hardware specifications OS required
1-9 Visual Studio 2015 Update 3 (or newer) .NET Core 1.0.0 - VS 2015 Tooling Preview 2 (or newer) .NET Framework 4.6.1 1.8 GHz or faster processor. Dualcore or better recommended. 4 GB of RAM; 8 GB of RAM recommended (2.5 GB minimum if running on a virtual machine) Hard disk space: 1GB to 40GB, depending on features installed. Video card that supports 720p (1280 by 720) or higher display resolution Windows 7 SP1 or later (up to Windows 10)
10 See above plus the following: Internet Information Services 8 (or newer) Microsoft SQL Server Express 2016 (or newer) See above plus the following: A physical or virtual Web Server environment with a public available Hostname/IP (for deployment test) See above for the development environment Windows Server 2008 R2 (or newer) for production environment

Related ASP.NET Core and/or Angular 2 Products:

Suggestions and Feedback

Click here if you have any feedback or suggestions.

aspdotnet-core-and-angular-2's People

Contributors

darkseal avatar packt-itservice avatar packtshivanim 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

Watchers

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

aspdotnet-core-and-angular-2's Issues

OpenIddict refresh required on VS2017 code

The changes required to support a later version of OpenIddict were detailed in an issue that is now closed but the source code has not been updated. This is such an important part of the final chapters of this book that it seems that either the code should be updated or a new branch is created with the updates.

Chapter 8: AccountsController - facebook login not working with IE 11.

It seems that "window.opener" is not defined in Internet Explorer 11.

The IE debugger shows this:
Unable to get property 'externalProviderLogin' of undefined or null reference

This line of code blows up when trying to login with facebook:
"window.opener.externalProviderLogin(" + JsonConvert.SerializeObject(auth) + ");"

It is taken from the AccountsController.cs:
// output a <SCRIPT> tag to call a JS function registered into the parent window global scope
return Content(
"<script type'text/javascript'>" +
"window.opener.externalProviderLogin(" + JsonConvert.SerializeObject(auth) + ");" +
"window.close();" +
"</script>",
"text/html"
);

Stuck on "Loading..."

Hi I am having an issue where the browser is stuck loading. Looking at the dev console, it seems that a bunch of libraries are not being loaded. I did a 'npm install' and 'dotnet restore' (which I shouldn't have to do either and I am still having this issue. Has anyone else encountered this problem?
http://i.imgur.com/n0dElNK.png

OpenIddict v1.0.0-beta1-0481 - No longer supports OpenIddictUser

The latest build of OpenIddict does not have an OpenIddictUser object.

Reading up on this, it looks like it departs from the use of JWT.

See: capesean/openiddict-test#25

Especially this comment from one of the contributors:
"That said, the access token format is supposed to be completely opaque to clients, so if your JS library relies on the fact your access tokens are JWTs, then it's doing it completely wrong and you should consider using another one 😄"

Looks like we need a refactor of much of the authentication section in Chapters 8 & 9.

I bought this book to get an end-to-end sample project I can use a base of a new product. This OpenIddict issue is bit over my head right now.

Chapter 6: ng2-bootstrap TypeError

For chapter 6, I keep getting this error:
TypeError: Cannot read property 'Output' of undefined

Here's my package.json config. I also tried the version listed in the book (2.14.1 for moment and 1.0.24 for ng2-bootstrap) but same error.

{
"version": "1.0.0",
"name": "opengamelistwebapp",
"private": true,
"dependencies": {
"@angular/common": "2.4.4",
"@angular/compiler": "2.4.4",
"@angular/core": "2.4.4",
"@angular/forms": "2.4.4",
"@angular/http": "2.4.4",
"@angular/platform-browser": "2.4.4",
"@angular/platform-browser-dynamic": "2.4.4",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.4.4",
"core-js": "^2.4.1",
"reflect-metadata": "0.1.10",
"rxjs": "5.0.0-beta.6",
"systemjs": "^0.19.37",
"typings": "^1.3.2",
"zone.js": "0.8.4",
"moment": "2.17.1",
"ng2-bootstrap": "1.4.0"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-clean": "^0.3.2",
"gulp-concat": "^2.6.0",
"gulp-less": "3.3.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-typescript": "^2.13.6",
"gulp-uglify": "^2.0.0",
"typescript": "2.2.1"
},
"scripts": {
"postinstall": "typings install dt~es6-shim --global"
}
}

user.identity.isauthenticated always false ???

public async Task GetCurrentUserId()
{
// if the user is not authenticated, throw an exception
if (!User.Identity.IsAuthenticated)
throw new NotSupportedException();

        var info = await SignInManager.GetExternalLoginInfoAsync();
        if (info == null)
            // internal provider
            return User.FindFirst(ClaimTypes.NameIdentifier).Value;
        else
        {
            // external provider
            var user = await UserManager.FindByLoginAsync(
                info.LoginProvider,
                info.ProviderKey);
            if (user == null) throw new NotSupportedException();
            return user.Id;
        }
    }

Why user.identity.isauthenticated always false ?
This raise a Bad Request!

thanks

Does not build & run using latest version of .net

downloaded code as-is
tried to build - indicated code was created with "version": "1.0.0-preview2-003121" so I updated global to "version": "1.0.0-preview2-003131"
does not run.

please can you update the GitHub code to run on latest vs.2015 update 3 with latest .net core SDK.

also many of the references in the .json files refer to old or beta packages (What is the best way to rectigy.)

also latest code indicates issues with openiddict when build (See chapter 9 code)

Loading all js libraries on initial load

I am following your book and after working thru Chapter 1 and running it found that all the js libraries are getting loaded. Thats won't be efficient as why are we loading unwanted libraries.

Can't login after password changing.

It seems, that at JwtProvider class, user variable is cached due to DbContext lifecycle duration, so password remains the same, as it was at first login. Simple solution is to add DbContext.Entry(user).Reload(); after user initialization (at line 92).

post script typings install doesn't work

When i save package.json file after writing following it fails.

"scripts": {
"postinstall": "typings install dt~core-js --global"
}

PATH=.\node_modules.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\npm.CMD" install

[email protected] postinstall C:\Development\OpenGameList\OpenGameListWebApp
typings install dtcore-js --global
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/core-js/versions/latest"
typings ERR! caused by unable to get local issuer certificate
typings ERR!
typings ERR! cwd C:\Development\OpenGameList\OpenGameListWebApp
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node.exe" "C:\Development\OpenGameList\OpenGameListWebApp\node_modules\typings\dist\bin.js" "install" "dt
core-js" "--global"
typings ERR! node -v v5.4.1
typings ERR! typings -v 2.0.0
typings ERR! code EUNAVAILABLE
typings ERR!
typings ERR! If you need help, you may report this error at:
typings ERR! https://github.com/typings/typings/issues
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node.exe" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v5.4.1
npm ERR! npm v4.0.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: typings install dt~core-js --global
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'typings install dtcore-js --global'.
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 opengamelistwebapp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install dt
core-js --global
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs opengamelistwebapp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls opengamelistwebapp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Development\OpenGameList\OpenGameListWebApp\npm-debug.log
�[?25h
PATH=.\node_modules.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\npm.CMD" install
[email protected] postinstall C:\Development\OpenGameList\OpenGameListWebApp
typings install dtcore-js --global
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/core-js/versions/latest"
typings ERR! caused by unable to get local issuer certificate
typings ERR!
typings ERR! cwd C:\Development\OpenGameList\OpenGameListWebApp
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node.exe" "C:\Development\OpenGameList\OpenGameListWebApp\node_modules\typings\dist\bin.js" "install" "dt
core-js" "--global"
typings ERR! node -v v5.4.1
typings ERR! typings -v 2.0.0
typings ERR! code EUNAVAILABLE
typings ERR!
typings ERR! If you need help, you may report this error at:
typings ERR! https://github.com/typings/typings/issues
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node.exe" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v5.4.1
npm ERR! npm v4.0.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: typings install dt~core-js --global
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'typings install dtcore-js --global'.
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 opengamelistwebapp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install dt
core-js --global
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs opengamelistwebapp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls opengamelistwebapp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Development\OpenGameList\OpenGameListWebApp\npm-debug.log
�[?25h

Bad request with authservice.get()

Hi,

why when I call the authservice.get() in ngOnInit event of app.component.ts I obtain a bad request?

How I can to obtain all information of current user?

ngOnInit() {
var auth = this.authService.getAuth();
alert(auth.access_token);
this.currentUser = this.authService.get().subscribe(
user => {
this.currentUser.UserName = user.UserName;
});
}

BR

Code won't compile because of some typescript error

Hi,

The first chapter solution won't compile.
The error in the VS 2015 Error List is:
Error MSB6006 "tsc.exe" exited with code 1. OpenGameListWebApp_Chapter01 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets 214

This is shown in more details in the output window:
Target "CompileTypeScriptWithTSConfig" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets" from project "C:\Users\dave\Downloads\ASPdotNET-Core-and-Angular-2-master\src\OpenGameListWebApp_Chapter01\OpenGameListWebApp_Chapter01.xproj" (target "Compile" depends on it):
1> Task "VsTsc"
1> C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.7\tsc.exe --project "C:\Users\dave\Downloads\ASPdotNET-Core-and-Angular-2-master\src\OpenGameListWebApp_Chapter01\tsconfig.json" --listEmittedFiles
1> C:\Users\dave\Downloads\ASPdotNET-Core-and-Angular-2-master\src\OpenGameListWebApp_Chapter01\error TS5023:Build:Unknown compiler option 'listemittedfiles'.
1> 1>
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(214,5): error MSB6006: "tsc.exe" exited with code 1.
1> Done executing task "VsTsc" -- FAILED.
1> 1>
1>Done building target "CompileTypeScriptWithTSConfig" in project "OpenGameListWebApp_Chapter01.xproj" -- FAILED.

I use Visual Studio 2015 with update 3, and .NET Core for Visual Studio Tools Preview 2.0.1. on a Windows 10 PC.
My other ASP.NET Core solutions and projects work just fine.

Please help. I can not go further with my book.

Thanks,
Dave

Reference issues working the example with latest preview tools and versions of TS and Angular

I apologize in advance for all the information in this inquiry. I am a neophyte in the ASP.NET Core and Angular/Typescript worlds.

I am having a different issue working through the first example. I am having the following issue when I attempt to create the app.component.ts file:

angular2componentissuevs2015gulp

I am sure there is an issue with my configurations, but I have rechecked them and have been unable to resolve the issue.

I have the latest version of Node and npm installed.

Here are my NPM configs (package.json):
{
"version": "1.0.0",
"name": "opengameslistwebapp",
"private": true,
"dependencies": {
"typings": "^1.5.0",
"@angular/common": "2.1.0",
"@angular/compiler": "2.1.0",
"@angular/core": "2.1.0",
"@angular/http": "2.1.0",
"@angular/platform-browser": "2.1.0",
"@angular/platform-browser-dynamic": "2.1.0",
"@angular/upgrade": "2.1.0",
"core-js": "^2.4.1",
"reflect-metadata": "^0.1.8",
"rxjs": "^5.0.0-rc.1",
"systemjs": "^0.19.40",
"zone.js": "^0.6.26"
},
"devDependencies": {
"gulp": "3.9.1",
"gulp-clean": "0.3.2",
"gulp-concat": "2.6.0",
"gulp-sourcemaps": "2.2.0",
"gulp-typescript": "3.1.2",
"gulp-uglify": "2.0.0",
"typescript": "2.0.6"
},
"scripts": {
"postinstall": "typings install dt~core-js --global"
}
}

Here are my typescript configurations (tsconfig.json):
{
"compileOnSave": false,
"compilerOptions": {
"module": "system",
"moduleResolution": "node",
"target": "es5",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noImplicitAny": false,
"noEmitOnError": false,
"removeComments": false
},
"exclude": [
"node_modules",
"wwwroot"
]
}

And finally, here are my project configurations (project.json):
{
"dependencies": {
"Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
"Microsoft.AspNetCore.Mvc": "1.0.1",
"Microsoft.AspNetCore.Routing": "1.0.1",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
"Microsoft.Extensions.Configuration.Json": "1.0.0",
"Microsoft.Extensions.Logging": "1.0.0",
"Microsoft.Extensions.Logging.Console": "1.0.0",
"Microsoft.Extensions.Logging.Debug": "1.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
"Microsoft.AspNetCore.Authentication.JwtBearer": "1.0.0",
"Microsoft.AspNetCore.StaticFiles": "1.0.0",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
"Newtonsoft.Json": "9.0.1"
},

"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
},

"frameworks": {
"net461": { }
},

"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},

"publishOptions": {
"include": [
"wwwroot",
"**/*.cshtml",
"appsettings.json",
"web.config"
]
},

"scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
}
}

Once I add app.component.ts and execute the Task Runner I have the other issue which appears to be a compatibility issue between es5 and es6 (I haven't tackled this one yet, since there is another issue with creating the app.component.ts file above):

I did try adding the typings configuration file (typings.json), but maybe the information needs to be updated depending on the versions of core-js I am using:

{
"globalDependencies": {
"core-js": "registry:dt/core-js#0.0.0+20160914114559",
"jasmine": "registry:dt/jasmine#2.2.0+20160621224255",
"node": "registry:dt/node#6.0.0+20160621231320"
}
}

C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/application_init.d.ts(16,18): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/application_ref.d.ts(106,67): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/application_ref.d.ts(122,101): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/application_ref.d.ts(148,67): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/application_ref.d.ts(150,101): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(28,16): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/di/reflective_provider.d.ts(88,123): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/di/reflective_provider.d.ts(88,165): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/facade/collection.d.ts(4,9): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/facade/collection.d.ts(5,30): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/facade/collection.d.ts(8,43): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/facade/collection.d.ts(10,23): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/facade/collection.d.ts(11,25): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Map'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/facade/lang.d.ts(13,17): error TS2304: Cannot find name 'Set'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/linker/compiler.d.ts(53,49): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/linker/compiler.d.ts(61,65): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/linker/ng_module_factory_loader.d.ts(14,34): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/linker/system_js_ng_module_factory_loader.d.ts(28,25): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/@angular/core/src/util/lang.d.ts(8,53): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/rxjs/Observable.d.ts(68,60): error TS2304: Cannot find name 'Promise'.
C:/Users/YourMomentOfZen/documents/visual studio 2015/Projects/OpenGamesList/src/OpenGamesListWebApp/node_modules/rxjs/Observable.d.ts(68,70): error TS2304: Cannot find name 'Promise'.

Any advice would be appreciated. I really tried resolving this before posting here.

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.