Apostrophe 3.21.1: hotfix for backwards compatibility issue with sass #3786
Replies: 4 comments 1 reply
-
Hello @boutell , I am still facing same as above error even after running the commands. Please guide me, what else we need to do to remove this error. Thanks |
Beta Was this translation helpful? Give feedback.
-
You must "npm update" your project. If that does not work, check "package.json" and make sure the version number of the dependency on "apostrophe" starts with a "^" and is not locked down (no "^"). |
Beta Was this translation helpful? Give feedback.
-
Note that "npm update" and "npm install" are not the same. |
Beta Was this translation helpful? Give feedback.
-
The "^" is a good thing. You need it. Without it you are forever locked on apostrophe 3.5.0, which was released several months ago. We have made many fixes since then. Please add the "^" back in front of that and do "npm update". |
Beta Was this translation helpful? Give feedback.
-
Yesterday,
sass
version 1.50.2 was released. This version reports an error when building Apostrophe's admin UI styles, preventing Apostrophe projects from starting up successfully.Today we've released
apostrophe
version 3.21.1, which temporarily pins our dependency onsass
to 1.50.1, allowing builds to succeed. In the coming sprint we'll analyze whether the error with sass 1.50.2 is due to an error in our styles, a bug in sass, or a backwards compatibility break in sass, and take appropriate next steps. For now we've done the simplest possible thing to ensure your projects work smoothly.If you are seeing this error:
You can fix it with this command:
In a development environment, you might need to also run this command:
Thanks for reading.
Beta Was this translation helpful? Give feedback.
All reactions