Skip to content

Cannot find module '@babel/polyfill' #6

Description

@roddharris

I installed the latest version of the templates: dotnet new -i aurelia.dotnet.templates

I then created a new folder and within the folder did the following dotnet new aurelia

Once that was completed, I then did an npm install to ensure all my packages were loaded. I then ran the project (which should be a very basic Hello World) and I get an error stating that

Cannot find module '@babel/polyfill'

The error occurs during the webpack build of main.ts.

What do I need to do to get this working? I kind of figured the initial template would just work out of the box.

I also tried: au build and got the following

image

I tried npm install babel-polyfill but that didn't fix anything.

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