Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

JavaScript runtime error: 'Promise' is undefined #575

Closed
@yonzo

Description

@yonzo

When generating a solution running "yo aspnetcore-spa" and choosing:

  • Aurelia
  • project.json
  • "My project Name"

...a new application is generated for me.
I can start the application with "dotnet run", and all is good.

But when I open the solution in VS2015 and start the app in debug mode (F5), I get an error saying
Unhandled exception at line 695, column 3 in http://localhost:38523/dist/app.js
and
JavaScript runtime error: 'Promise' is undefined

I can click Continue and open the website as if nothing happened, but I'd really like to make that error go away for my own peace of mind.
Am I doing something wrong, or is it a bug in the template-files (if that's what their called)..?

Regards,
Jon S.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions