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

Polymer-cli complains about isIfSentence of null #717

Closed
kenchris opened this issue Sep 20, 2018 · 4 comments
Closed

Polymer-cli complains about isIfSentence of null #717

kenchris opened this issue Sep 20, 2018 · 4 comments

Comments

@kenchris
Copy link

image

This seems to be a Babel issue fixed in latest version:

babel/minify#850

@johnthad
Copy link

I'm seeing this, too, in my app, which is based off pwa-starter-kit (though I do not see the error there or with the books PWA).

@Ludogo
Copy link

Ludogo commented Apr 1, 2019

Got the same error
`

pwa-starter-kit@0.9.0 build:prpl-server /home//Dev/**
polymer build --auto-base-path && gulp prpl-server

info: Clearing build/ directory...
info: (esm-bundled) Building...
info: (es6-bundled) Building...
info: (es5-bundled) Building...
warn: js-transform: Unable to optimize /home/ludo/Dev/EcareMobile/src/components/my-app.js
{ err: 'Cannot read property 'isIfStatement' of null' }

`

@usergenic
Copy link
Contributor

#3388 should fix this. Bugs in babel-preset-minify - disabling some of the features/plugins it uses works around this.

@usergenic
Copy link
Contributor

Published polymer-build@3.1.3 and polymer-cli@1.9.8 9 days ago. Fixed this.

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

4 participants