Skip to content

post-css error using yarn #618

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

Closed
sinedied opened this issue Dec 10, 2021 · 1 comment
Closed

post-css error using yarn #618

sinedied opened this issue Dec 10, 2021 · 1 comment

Comments

@sinedied
Copy link
Member

When yarn is used as a package manager, building project result in a post-css error:

TypeError: Class extends value undefined is not a constructor or null
    at Object.<anonymous> (/Users/sinedied/projects/generator-ngx-rocket/sample/node_modules/postcss-scss/lib/nested-declaration.js:3:33)
    at Module._compile (/Users/sinedied/projects/generator-ngx-rocket/sample/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (/Users/sinedied/projects/generator-ngx-rocket/sample/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/Users/sinedied/projects/generator-ngx-rocket/sample/node_modules/postcss-scss/lib/scss-parser.js:4:25)
    at Module._compile (/Users/sinedied/projects/generator-ngx-rocket/sample/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)

I'm not sure what can be done about it, as removing node_modules folder and running npm install instead solves the issue.
Ideas welcome.

ci-rebot pushed a commit that referenced this issue Dec 15, 2021
## [10.1.2](10.1.1...10.1.2) (2021-12-15)

### Bug Fixes

* add missing postcss dep for yarn (fix [#618](#618)) ([2d2e61a](2d2e61a))
* possible error with insights (fix [#620](#620)) ([7377db4](7377db4))
@ci-rebot
Copy link
Collaborator

🎉 This issue has been resolved in version 10.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants