jsdom / cssstyle

A Node.js implementation of the CSS Object Model CSSStyleDeclaration interface
MIT License
109 stars 70 forks source link

Error: Cannot find module './properties' #39

Closed snatesan closed 8 years ago

snatesan commented 8 years ago

This issue, https://github.com/chad3814/CSSStyleDeclaration/issues/20, occurring again with version cssstyle@0.2.32.

Cannot find module './properties' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:286:25) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (/node_modules/cssstyle/lib/CSSStyleDeclaration.js:230:1) at Module._compile (module.js:434:26) at Object.Module._extensions..js (module.js:452:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17)

tteltrab commented 8 years ago

Fixed in 0.2.33: https://github.com/chad3814/CSSStyleDeclaration/commit/7ee6e5ed5e478eeaf0174660629fd6edab91b2fd

snatesan commented 8 years ago

Can you please remove 0.2.32 from NPM? I have this module as nested dependency and somehow it is retrieving 0.2.32 version. On 2016 ഫെബ്രു 5, വെള്ളി at 8:09 AM chad3814 notifications@github.com wrote:

Closed #39 https://github.com/chad3814/CSSStyleDeclaration/issues/39.

— Reply to this email directly or view it on GitHub https://github.com/chad3814/CSSStyleDeclaration/issues/39#event-540837775 .

domenic commented 8 years ago

It won't help if he removes it; it's still in your local cache. You need to clear your npm cache.