Skip to content
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

Error when generating documentation #369

Closed
achingbrain opened this issue May 24, 2019 · 1 comment · Fixed by #396
Closed

Error when generating documentation #369

achingbrain opened this issue May 24, 2019 · 1 comment · Fixed by #396
Labels
exp/expert Having worked on the specific codebase is important kind/bug A bug in existing code (including security flaws) P0 Critical: Tackled by core team ASAP

Comments

@achingbrain
Copy link
Member

Building the docs has started failing on multiple projects for me with the following error:

[12:19:27] Build [completed]
[12:19:27] Update Contributors [started]
[12:19:27] Update Contributors [completed]
[12:19:27] Generate Changelog [started]
[12:19:27] Generate Changelog [completed]
[12:19:27] Commit to Git [started]
[12:19:29] Commit to Git [completed]
[12:19:29] Push to GitHub [started]
[12:19:33] Push to GitHub [completed]
[12:19:33] Generate GitHub Release [started]
[12:19:34] Generate GitHub Release [completed]
[12:19:34] Publish documentation [started]
[12:19:34] Clean ./docs [started]
[12:19:34] Clean ./docs [completed]
[12:19:34] Generating documentation [started]
Warning: No `example.js` found in the root directory.
[12:19:37] Generating documentation [failed]
[12:19:37] → Cannot read property 'node' of undefined
[12:19:37] Publish documentation [failed]
[12:19:37] → Cannot read property 'node' of undefined
Cannot read property 'node' of undefined
TypeError: Cannot read property 'node' of undefined
    at /Users/alex/Documents/Workspaces/ipfs/js-ipfs/node_modules/radium-bootstrap-grid/lib/container.react.js:58:34
    at Object.<anonymous> (/Users/alex/Documents/Workspaces/ipfs/js-ipfs/node_modules/radium-bootstrap-grid/lib/container.react.js:67:3)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Users/alex/Documents/Workspaces/ipfs/js-ipfs/node_modules/radium-bootstrap-grid/lib/index.js:7:23)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)

Currently working around it by running npm publish manually after the error occurs.

May be related to blueberryapps/radium-bootstrap-grid#18

@hugomrdias hugomrdias added kind/bug A bug in existing code (including security flaws) exp/expert Having worked on the specific codebase is important P0 Critical: Tackled by core team ASAP labels May 24, 2019
@hugomrdias
Copy link
Member

cant repro this need more info

hugomrdias added a commit that referenced this issue Jul 12, 2019
hugomrdias added a commit that referenced this issue Jul 12, 2019
* fix: use the default docs theme

closes #369

* chore: fix linter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/expert Having worked on the specific codebase is important kind/bug A bug in existing code (including security flaws) P0 Critical: Tackled by core team ASAP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants