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
{{ message }}
This repository was archived by the owner on Jan 31, 2023. It is now read-only.
I cd to this directory and run mdx-go docs and get the following error:
➜ mdx-go docs
[mdx-go] starting dev server...
✔ success [mdx-go] compiled in 1s 848ms
ERROR Failed to compile with 1 errors 19:30:57
error in /home/karan/.nvm/versions/node/v8.11.4/lib/node_modules/mdx-go/lib/client/keyboard-shortcuts.md
Module parse failed: Unexpected character '#' (2:0)
You may need an appropriate loader to handle this file type.
|>### Keyboard Shortcuts|| - `/`: Show directory listing
@ /home/karan/.nvm/versions/node/v8.11.4/lib/node_modules/mdx-go/lib/client/routes.js 11:0-56 44:26-43
@ /home/karan/.nvm/versions/node/v8.11.4/lib/node_modules/mdx-go/lib/client/App.js
@ /home/karan/.nvm/versions/node/v8.11.4/lib/node_modules/mdx-go/lib/client/index.js
@ multi webpack-hot-middleware/client /home/karan/.nvm/versions/node/v8.11.4/lib/node_modules/mdx-go/lib/client/index.js
✖ 「wdm」:
ERROR in ./client/keyboard-shortcuts.md 2:0
Module parse failed: Unexpected character '#' (2:0)
You may need an appropriate loader to handle this file type.
|>### Keyboard Shortcuts|| - `/`: Show directory listing
@ ./client/routes.js 11:0-56 44:26-43
@ ./client/App.js
@ ./client/index.js
@ multi webpack-hot-middleware/client ./client/index.js
[mdx-go] listening on http://localhost:8080
^C
Any idea why it's breaking due to a file that isn't even present in the directory? Is there something wrong on my end that I need to change? Please do let me know.
I've been trying to get this to work for a while now but, unfortunately, I haven't had the luck.
Firstly, the directory structure looks like this:
I cd to this directory and run
mdx-go docsand get the following error:Any idea why it's breaking due to a file that isn't even present in the directory? Is there something wrong on my end that I need to change? Please do let me know.