Describe the bug
I was trying to follow the installation of addon-docs at : https://github.com/storybookjs/storybook/tree/master/addons/docs/ember#docspage but I can't get it works.
I tried a lot of different way but none works ... What I am missing ? Is addon-docs really supported for ember ?
To Reproduce 1
Steps to reproduce the behavior:
npm install @storybook/addon-docs@nextaddons: ['@storybook/addon-docs'], in .storybook/main.js : module.exports = {
addons: ['@storybook/addon-docs'],
stories: ['../addon/**/*.stories.[tj]s'],
};
npm run storybookTypeError: modules[moduleId] is undefined in console and storybook is infinitly loading :
To Reproduce 2
Steps to reproduce the behavior:
npm install @storybook/addon-docs -> just a test without @nextaddons: ['@storybook/addon-docs'], in .storybook/main.js : module.exports = {
addons: ['@storybook/addon-docs'],
stories: ['../addon/**/*.stories.[tj]s'],
};
npm run storybook -> working here, with a new "docs" tab !!enableAddonDocsIntegration: true in ember-cli-build.js :'use strict';
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
module.exports = function(defaults) {
let app = new EmberAddon(defaults, {
'ember-cli-storybook': {
enableAddonDocsIntegration: true,
}
});
return app.toTree();
};
npm run storybook -> failing at 68% build time with : EMFILE: too many open files, watch.error: Node.js version: v12.14.1
error: YUI version: 3.18.1
error: YUIDoc version: 0.10.2
error: Please file all tickets here: http://github.com/yui/yuidoc/issues
error: --------------------------------------------------------------------------
error: --------------------------------------------------------------------------
error: An uncaught YUIDoc error has occurred, stack trace given below
error: --------------------------------------------------------------------------
error: Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:123:28)
error: --------------------------------------------------------------------------
Expected behavior
I was expected to see my Tooltip component (working before installing addon-docs) with a new "docs" tab...
System:
Environment Info:
System:
OS: macOS 10.15.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.14.1/bin/npm
Browsers:
Firefox: 76.0.1
Safari: 13.0.5
npmPackages:
@storybook/addon-docs: ^5.3.19 => 5.3.19
@storybook/addons: ^5.3.19 => 5.3.19
@storybook/ember: ^6.0.0-alpha.27 => 6.0.0-alpha.45
@storybook/ember-cli-storybook: ^0.2.1 => 0.2.1
@storybook/theming: ^5.3.19 => 5.3.19
cc @meirish
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
This bug is not solved and we could not install addon-doc.
However we are still interested to use this addon...
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
Most helpful comment
cc @meirish