-
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
File docgenInfo.json missing from 'docs/app' #304
Comments
Hm. That is odd, it should build this file first. Can you paste your terminal output after running In the mean time, you can run |
This was the original error output the first time I ran the command. I got around the errors by installing both packages and creating a docgenInfo.json file with {} as its contents. After that, those errors disappeared. I just deleted the file and ran 'npm build' and the file was still not created. That's why I'm thinking adding the empty file (with {} in it) to the repo may help future users, or else as you mentioned adding it later through the build process.
|
My bad regarding 'npm build' not working. I needed to run 'npm run build' of course. Then the file is auto-created. |
The I see a couple other issues: 1
It seems the You should see 2
This strikes me as odd. 3
This is the same as issue 1 above, I've just added the You should see Give it another goAfter trying the fixes in 1 and 3, could you then give it another fresh go? Here's the recap: Reinstall
Retry with a clean slate
You should not have any errors on this step. After doing this, could you please paste your terminal output as before (waiting for |
@joshuazmiller let me the results of this ^ please |
@levithomason could it be related to: Where you are explicitly looking for a |
Ah, that sounds completely correct to me. At least for the undefined import issue. |
OK, @joshuazmiller I believe the |
Great! Yes, the issues are all resolved now. I did a clean |
@levithomason we will probably want to use |
I've added #313 for this new issue. |
I assume this file is generated; however, when running the initial 'npm start' a breaking error occurs where webpack notes that docgenInfo.json is missing. This file is referenced by doc/app/utils/getComponentDocInfo.js
import docgenInfo from '../docgenInfo.json'
. Perhaps this file aught to be included in the repo perhaps with some default content?The text was updated successfully, but these errors were encountered: