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

Error executing simple task in Ubuntu 18.04 #8

Open
vics80 opened this issue Feb 22, 2021 · 0 comments
Open

Error executing simple task in Ubuntu 18.04 #8

vics80 opened this issue Feb 22, 2021 · 0 comments

Comments

@vics80
Copy link

vics80 commented Feb 22, 2021

I write a simple task with a simple CSS and when I execute I get this error:

UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token T in JSON

This error is in file node_modules/penthouse/lib/postformatting/index.js:28:28
This line is:

var criticalRules = JSON.parse(cssAstRulesJsonString)

When I print this Json I get this:

[{"declarations":[{"position":{"end":{"column":15,"line":2},"start":{"column":1,"line":2}},"property":"display","type":"declaration","value":"block"}],"position":{"end":{"column":2,"line":3},"start":{"column":1,"line":1}},"selectors":["body"],"type":"rule"}]TypeError: Attempting to change the setter of an unconfigurable property

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

1 participant