-
Notifications
You must be signed in to change notification settings - Fork 150
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
postcss v8 incompatibility: error TS2503: Cannot find namespace 'postcss' #258
Comments
I think this can be any of:
I don't think everyone will be ready to upgrade to 8.0, even though the migration process is minor. Would also have to check if the postcss config loader package changed. |
I added module.exports = {
hooks: {
readPackage (pkg) {
switch (pkg.name) {
case 'svelte-preprocess':
pkg.peerDependencies['postcss'] = '^8.0.9'
break
}
return pkg
}
}
}
It appears I made an assumption. There is a different issue w/ pnpm, typescript, svelte-preprocess, & my The package has both I looked at the source of the svelte-preprocess/src/types/options.ts Lines 21 to 25 in 076e9f3
From within the postcss git source code
Aha, version 7 of |
Hey, 👋 the way Fixed in |
As of 4.3.2:
It looks like there's a peer dependency
Need to include v8 in the peer dependency check.
The text was updated successfully, but these errors were encountered: