TypeError: Cannot read property 'modules' of undefined
See original GitHub issueI’m getting an error building my project on Windows, everything works fine on a Mac.
[!] (plugin postcss) TypeError: Cannot read property 'modules' of undefined
TypeError: Cannot read property 'modules' of undefined
at getExtracted (C:\sg\node_modules\rollup-plugin-postcss\dist\index.js:771:60)
at C:\sg\node_modules\rollup-plugin-postcss\dist\index.js:814:29
at Generator.next (<anonymous>)
at asyncGeneratorStep (C:\sg\node_modules\rollup-plugin-postcss\dist\index.js:19:24)
at _next (C:\sg\node_modules\rollup-plugin-postcss\dist\index.js:41:9)
at C:\sg\node_modules\rollup-plugin-postcss\dist\index.js:48:7
at new Promise (<anonymous>)
at C:\sg\node_modules\rollup-plugin-postcss\dist\index.js:37:12
at Object.generateBundle (C:\sg\node_modules\rollup-plugin-postcss\dist\index.js:859:9)
at Promise.resolve.then (C:\sg\node_modules\rollup\dist\rollup.js:15921:25)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Cannot read property 'module' of undefined · Issue #1173
Typically this error is caused when you are trying to register dependencies incorrectly in your module. 2
Read more >Cannot read property 'module' of undefined - Stack Overflow
Have you forgotten to load AngularJS before your script? The error means that the object angular hasn't been seen by Javascript yet and ......
Read more >TypeError: Cannot read property 'module' of undefined - ionic-v3
Hi, I'm new to ionic, trying to write a simple authentication app. I received “Cannot read property 'module' of undefined” as a runtime...
Read more >How to Avoid the Infamous "Cannot read properties of ... - Bitovi
Interpreting undefined or null as subtypes of all other types can lead to runtime problems. For example, if you try to get the...
Read more >Why "Uncaught TypeError: Cannot read property 'module' of ...
Since it is defined as global script, it get executed on load of all the forms in platform and causing the error in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
🎉 This issue has been resolved in version 2.0.6 🎉
The release is available on:
Your semantic-release bot 📦🚀
I get the same error on Windows. That PR should fix it.