ember-learn / ember-learn/ember-cli-addon-docs

/tailwind route throws uncaught error: Could not find module `dummy/tailwind/config/colors`

Aperta
#189 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
172
Fork
142
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**ember-cli-addon-docs@0.4.2**

I've enabled the build to include the style guide by setting `shouldIncludeStyleguide` to `true` in my addon's `ember-cli-build.js`.

```javascript
// ember-cli-build.js
const EmberAddonDocs = require('ember-cli-addon-docs');
EmberAddonDocs.options['ember-cli-tailwind'].shouldIncludeStyleguide = true;
```
Once the dummy app is deployed, visiting `/tailwind` results in a JS error:

```
Uncaught Error: Could not find module `dummy/tailwind/config/colors` imported from `dummy/controllers/application-tailwind`
at missingModule (loader.js:247)
at findModule (loader.js:258)
at Module.findDeps (loader.js:168)
at findModule (loader.js:262)
at requireModule (loader.js:24)
at Class._extractDefaultExport (index.js:411)
at Class.resolveOther (index.js:114)
at Class.superWrapper [as resolveOther] (ember-utils.js:428)
at Class.resolveController (resolver.js:223)
at Class.resolve (resolver.js:130)
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.