You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently tried to upgrade postcss-modules to latest (v0.6.2) but encountered a problem building when running on node v6.9.4. Looks like the issue is that Object.values in behaviours.js wasn't added until node v7.0.0.
I rolled back to v0.5.2 and that works fine (for those that run into the same problem).
ERROR in ./~/css-loader!./~/postcss-loader!./src/styles.css
Module build failed: TypeError: Object.values is not a function
at isValidBehaviour (/home/ubuntu/PROJECT/node_modules/postcss-modules/build/behaviours.js:34:17)
at getDefaultScopeBehaviour (/home/ubuntu/PROJECT/node_modules/postcss-modules/build/index.js:36:63)
The text was updated successfully, but these errors were encountered:
I recently tried to upgrade
postcss-modules
to latest (v0.6.2) but encountered a problem building when running on node v6.9.4. Looks like the issue is thatObject.values
inbehaviours.js
wasn't added until node v7.0.0.I rolled back to v0.5.2 and that works fine (for those that run into the same problem).
The text was updated successfully, but these errors were encountered: