-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation issue with docgenInfo.json (windows) #307
Comments
The content of your docgenInfo.json looks correct. Though, it shouldn't be named What is the full path to the |
Yes, I just copied the contents into a |
Since the file is present, and the the contents are correct, I cannot see any reason why the import would be undefined. I am not a Windows user so I am unsure if that has anything to do with it. This may be related to #304 which does have errors we can diagnose. Let move this conversation about the undefined import to there as well. |
This is resolved. Just the regex for Windows file paths was the issue as @davezuko mentioned in #304. Thanks! |
Sorry for bringing up another compilation issue.
The file docs/app/utils/getComponentDocInfo.js is returning
undefined
(checked via console.log) fordocPath
anddocGen
. It is supposed to getdocPath
by parsing the docgenInfo.json file that was generated by the build process on my Windows machine. (It seems to be looking for_meta.name
which doesn't appear in the docgenInfo file). This doesn't appear to work. The result is that my app won't compile and I get the following 3 messages in my console:Note: The last error is referring to line 21 in ComponentDoc.js:
Here's the content of my auto-generated docgenInfo.json:
docgenInfo.json.txt
The text was updated successfully, but these errors were encountered: