Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular scaffolding has error in polyfill.ts #314

Closed
bic742 opened this issue Jan 13, 2020 · 1 comment
Closed

Angular scaffolding has error in polyfill.ts #314

bic742 opened this issue Jan 13, 2020 · 1 comment

Comments

@bic742
Copy link

bic742 commented Jan 13, 2020

Description

When executing the jss create command for angular, the resulting scaffolded site will not immediately start. This is caused by a bad module reference in the polyfill.ts file.

Expected behavior

After executing the jss create command with angular as the chose framework, the site should start.

Steps To Reproduce

  1. Execute command jss create the-app angular
  2. cd into new app directory
  3. Execute command jss start
  4. Site will not start due to bad reference in polyfill.ts

Possible Fix

On line 41-42 of https://github.com/Sitecore/jss/blob/dev/samples/angular/src/polyfills.ts, replace 'es6' with just 'es'.

@sc-illiakovalenko
Copy link
Contributor

@bic742 Thank you, for your request.
Fixed in #320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants