Open equiman opened 2 years ago
When on localhost I'd recommend using npm run dev
. Just tested it and it works.
Oh yes, my mistake I ran it with start
instead of dev
. I've tried again but also shows some errors.
❯ npm run dev
> soulsearch@1.0.0 dev /home/juanmartinez/Applications/soulsearch
> cross-env NODE_ENV=development nodemon server/index.js --watch server
[nodemon] 1.19.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): server/**/*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server/index.js`
WARN mode option is deprecated. You can safely remove it from nuxt.config 09:44:45
ℹ NuxtJS collects completely anonymous data about usage. 09:44:45
This will help us improve Nuxt developer experience over time.
Read more on https://git.io/nuxt-telemetry
? Are you interested in participating? (Y/n) y
? Are you interested in participating? Yes
ℹ Preparing project for development 09:44:47
ℹ Initial build may take a while 09:44:47
✔ Builder initialized 09:44:47
✔ Nuxt files generated 09:44:47
✖ Client
Compiled with some errors in 32.63s
✔ Server
Compiled successfully in 33.30s
ERROR Failed to compile with 10 errors friendly-errors 09:45:22
ERROR in ./components/Logo.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/components/Logo.vue
8:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Navbar.vue?vue&type=script&lang=js& 23:0-37 27:10-14
@ ./components/Navbar.vue?vue&type=script&lang=js&
@ ./components/Navbar.vue
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/default.vue?vue&type=script&lang=js&
@ ./layouts/default.vue?vue&type=script&lang=js&
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./components/Navbar.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/components/Navbar.vue
21:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/default.vue?vue&type=script&lang=js& 16:0-41 21:12-18
@ ./layouts/default.vue?vue&type=script&lang=js&
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./components/PageFooter.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/components/PageFooter.vue
14:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/default.vue?vue&type=script&lang=js& 17:0-49 22:16-26
@ ./layouts/default.vue?vue&type=script&lang=js&
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./components/Player.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/components/Player.vue
14:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/default.vue?vue&type=script&lang=js& 15:0-41 20:12-18
@ ./layouts/default.vue?vue&type=script&lang=js&
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./components/Results.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/components/Results.vue
55:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/index.vue?vue&type=script&lang=js& 67:0-43 73:13-20
@ ./pages/index.vue?vue&type=script&lang=js&
@ ./pages/index.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./components/Search.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/components/Search.vue
14:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Navbar.vue?vue&type=script&lang=js& 24:0-41 28:12-18
@ ./components/Navbar.vue?vue&type=script&lang=js&
@ ./components/Navbar.vue
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/default.vue?vue&type=script&lang=js&
@ ./layouts/default.vue?vue&type=script&lang=js&
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./components/Tips.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/components/Tips.vue
24:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/index.vue?vue&type=script&lang=js& 68:0-37 74:10-14
@ ./pages/index.vue?vue&type=script&lang=js&
@ ./pages/index.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./layouts/default.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/layouts/default.vue
13:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./.nuxt/App.js 24:0-47 26:32-41
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./layouts/error.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/layouts/error.vue
26:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./.nuxt/index.js 25:0-45 397:0-32
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ERROR in ./pages/index.vue friendly-errors 09:45:22
Module Error (from ./node_modules/eslint-loader/dist/cjs.js): friendly-errors 09:45:22
/home/juanmartinez/Applications/soulsearch/pages/index.vue
48:12 error clear vue/comment-directive
✖ 1 problem (1 error, 0 warnings)
friendly-errors 09:45:22
@ ./.nuxt/router.js 19:24-21:3
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
friendly-errors 09:45:22
ℹ Waiting for file changes 09:45:22
READY Server listening on http://localhost:3000 09:45:22
[Vue warn]: Property or method "$icon" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
found in
---> <Logo> at components/Logo.vue
<NuxtLink>
<Navbar> at components/Navbar.vue
<Layouts/default.vue> at layouts/default.vue
<Root>
[Vue warn]: Error in render: "TypeError: _vm.$icon is not a function"
found in
---> <Logo> at components/Logo.vue
<NuxtLink>
<Navbar> at components/Navbar.vue
<Layouts/default.vue> at layouts/default.vue
<Root>
I've cloned the project and installed dependencies with this version
.env file:
When runs with
npm run start
see this error on browser and console.