An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.78k
stars
1.32k
forks
source link
Vuetify integration - [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. #36
running pre-commit hook: PRE_COMMIT=true lint-staged
❯ Running tasks for .{js,jsx}
✔ eslint --fix
✔ prettier --write
✔ git add
✖ jest --bail --findRelatedTests
→ at
✔ Running tasks for .json
❯ Running tasks for .vue
✔ eslint --fix
✔ stylelint --fix
✔ prettier --write
✔ git add
✖ jest --no-cache --bail --findRelatedTests
→ at
↓ Running tasks for .scss [skipped]
→ No staged files match .scss
↓ Running tasks for .md [skipped]
→ No staged files match .md
↓ Running tasks for .{png,jpeg,jpg,gif,svg} [skipped]
→ No staged files match *.{png,jpeg,jpg,gif,svg}
✖ jest --bail --findRelatedTests found some errors. Please fix them and try committing again.
FAIL src/router/views/home.unit.js
● Console
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
● @views/home › renders an element
expect(string).toContain(value)
Expected string:
"Welcome to the site Lorem ipsum dolor sit amet, pri veniam forensibus id. Vis maluisset molestiae id, ad semper lobortis cum. At impetus detraxit incorrupte usu, repudiare assueverit ex eum, ne nam essent vocent admodum. "
To contain value:
"Home Page"
Test Suites: 1 failed, 1 of 5 total
Tests: 1 failed, 1 passed, 2 total
Snapshots: 0 total
Time: 1.963s
Ran all test suites related to files matching /\/home\/rodwin\/Code\/tkl_ads\/dashboard\/src\/components\/DonutChart.unit.js|\/home\/rodwin\/Code\/tkl_ads\/dashboard\/src\/components\/DonutChart.js/i.
events.js:112
throw er; // Unhandled 'error' event
^
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
at process.target.send (internal/child_process.js:596:16)
at reportSuccess (/home/rodwin/Code/tkl_ads/dashboard/node_modules/jest-worker/build/child.js:57:11)
at
✖ jest --no-cache --bail --findRelatedTests found some errors. Please fix them and try committing again.
[vue-jest]: Sass, Less and PostCSS are not currently compiled by vue-jest
FAIL src/router/views/login.unit.js
● Console
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
console.error node_modules/vue/dist/vue.runtime.common.js:589
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
● @views/login › displays an error after failed login`
Hi Not an issue but rather a question.
Do you have an idea why the test returns this error
` dashboard git:(master) ✗ git commit -m "added donut chart"
● Console
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
● @views/home › renders an element
expect(string).toContain(value)
Expected string: "Welcome to the site Lorem ipsum dolor sit amet, pri veniam forensibus id. Vis maluisset molestiae id, ad semper lobortis cum. At impetus detraxit incorrupte usu, repudiare assueverit ex eum, ne nam essent vocent admodum. " To contain value: "Home Page"
Test Suites: 1 failed, 1 of 5 total Tests: 1 failed, 1 passed, 2 total Snapshots: 0 total Time: 1.963s Ran all test suites related to files matching /\/home\/rodwin\/Code\/tkl_ads\/dashboard\/src\/components\/DonutChart.unit.js|\/home\/rodwin\/Code\/tkl_ads\/dashboard\/src\/components\/DonutChart.js/i. events.js:112 throw er; // Unhandled 'error' event ^
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed at process.target.send (internal/child_process.js:596:16) at reportSuccess (/home/rodwin/Code/tkl_ads/dashboard/node_modules/jest-worker/build/child.js:57:11) at
✖ jest --no-cache --bail --findRelatedTests found some errors. Please fix them and try committing again.
[vue-jest]: Sass, Less and PostCSS are not currently compiled by vue-jest
FAIL src/router/views/login.unit.js ● Console
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
console.error node_modules/vue/dist/vue.runtime.common.js:589 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
● @views/login › displays an error after failed login`
Thanks in advance.