csscomb.js: babel/polyfill not found
After calling csscomb, there is an error message.
$ csscomb
module.js:442
throw err;
^
Error: Cannot find module 'babel/polyfill'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/csscomb/node_modules/csscomb-core/lib/core.js:6:3)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 3
- Comments: 17 (4 by maintainers)
*Use
sudo npm install csscomb@3.1.7 -gto get the current stable version@tonyganch: The current published version of
csscomb(4.0.0-alpha) is broken due to a missing dependency incsscomb-core. Can you pleasenpm deprecatethese andnpm publishnew, fixed versions?Error occurs in 4.0.0-alpha. No problems in 3.1.7/3.1.8
Thank you for reports, guys. Can you specify the version of csscomb you’re using please?