Closed cmackenz closed 6 years ago
Did the generator run? Try ember g ember-cli-addon-docs
I'm seeing this too.
Originally I followed the instructions on the usage docs which say to run
ember install ember-cli-addon-docs
but the app/templates
directory of the dependency end up empty, do you can't actually render a docs
page because those templates are missing.
Then I tried out installation command from the quickstart guide which says to install from Github instead, like this:
ember install ember-learn/ember-cli-addon-docs
and then I get this same error.
I did ember install ember-cli-addon-docs
, which will stop right before finish (A manual yarn add ember-cli-addon-docs
didn't finish either). Here are my logs for trying to install this:
ERROR Summary:
- broccoliBuilderErrorStack: [undefined]
- codeFrame: [undefined]
- errorMessage: Command failed: yarn add --dev ember-cli-addon-docs --non-interactive
warning ember-cli-addon-docs > liquid-tether > ember-cli-babel > broccoli-babel-transpiler > babel-core > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning ember-cli-addon-docs > yuidocjs > yui > request > node-uuid@1.4.8: Use uuid module instead
warning ember-cli-addon-docs > ember-code-snippet > glob > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
yarn add v1.5.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
- errorType: [undefined]
- location:
- column: [undefined]
- file: [undefined]
- line: [undefined]
- message: Command failed: yarn add --dev ember-cli-addon-docs --non-interactive
warning ember-cli-addon-docs > liquid-tether > ember-cli-babel > broccoli-babel-transpiler > babel-core > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning ember-cli-addon-docs > yuidocjs > yui > request > node-uuid@1.4.8: Use uuid module instead
warning ember-cli-addon-docs > ember-code-snippet > glob > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
yarn add v1.5.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
- name: Error
- nodeAnnotation: [undefined]
- nodeName: [undefined]
- originalErrorMessage: [undefined]
- stack: Error: Command failed: yarn add --dev ember-cli-addon-docs --non-interactive
warning ember-cli-addon-docs > liquid-tether > ember-cli-babel > broccoli-babel-transpiler > babel-core > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning ember-cli-addon-docs > yuidocjs > yui > request > node-uuid@1.4.8: Use uuid module instead
warning ember-cli-addon-docs > ember-code-snippet > glob > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
yarn add v1.5.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
at Promise.all.then.arr (/path/to/my-addon/node_modules/execa/index.js:236:11)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:118:7)
@alexlafroscia I got it working but I put it together by hacking and slashing.
$ ember install ember-learn/ember-cli-addon-docs
$ ember install ember-cli-addon-docs
Dummy layout :https://github.com/funnelcloudinc/ember-cli-echarts/tree/master/tests/dummy
I don't remember if I modified anything outside of that. I don't believe so.
There is a lot confusion between ember-learn/ember-cli-addon-docs
and ember-cli-addon-docs
.
ember-cli-addon-docs
ember-learn/ember-cli-addon-docs
(so do the comments say so in here)ember-cli-addon-docs
ember-cli-addon-docs
ember-learn/ember-cli-addon-docs
would install from Github, while ember-cli-addon-docs
would install from NPM (or yarn). I think that we want to be installing from one of the registries, I'm just not sure why the guide mentions the Github installation.
I think it’s a typo or leftover from earlier versions of the guides. Will try to get to a fix soon, PRs welcome!
👍 I'll put a PR together that fixes this and another thing that I thought was a bit confusing in the quickstart guide
ember install ember-learn/ember-cli-addon-docs
ember s