Cannot read property 'mq' of undefined
See original GitHub issueBug Report
On starting a new project with no dependencies other than docz
, I am unable to recognize any .mdx files.
To Reproduce
Set up:
mkdir <your-docz-project> && cd <your-docz-project>
npm init
- Add
"docz:dev": "docz dev"
to your scripts touch any-name.mdx
- Put some text in the .mdx file. I used the markup from the Getting Started guide:
name: Hello world
---
# Hello world
Hello, I'm a mdx file!
npm run docz:dev
- I wind up with this:
*Here’s a test Repository: https://github.com/maddoxnelson/new-docz
Expected behavior
Docz should return my stuff, as described in theGetting Started page.
Environment
- OS: OSX 10.13.6 (High Sierra)
- Node/npm version: Node: 10.12.0, NPM: 6.4.1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Cannot read property 'mq' of undefined · Issue #512 - GitHub
When upgrading docz-theme-default to the most recent version ( v0.12.16 ), the error Cannot read property 'mq' of undefined is being thrown.
Read more >Modernzr mq is undefined? - javascript - Stack Overflow
So getting an error in console :"Uncaught TypeError: Modernizr.on is not a function" $(window).resize(function(){ if ...
Read more >PH36402: CANNOT READ PROPERTY 'INDEXOF' OF ... - IBM
When expanding the "Module Where Used" section of a module, users may see the following error:
Read more >cannot read properties of undefined (reading 'providers')
Your issue is that your .find() method is returning undefined , so you can't access properties on product such as .name as it...
Read more >Cannot read properties of undefined (reading 'map'). Why do I ...
I have a component containing an array, which has certain categories and headers. I wanted to put these into a collapsible menu, ...
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
Fixed on release v0.12.12 ✅
Thanks to report guys, I’m releasing a patch now with this fix 🙏