vuexfire-admin icon indicating copy to clipboard operation
vuexfire-admin copied to clipboard

Cannot GET /

Open Timtech4u opened this issue 7 years ago • 5 comments

I went through the installation guide and did 'npm run dev' while still using the default firebase config, On localhost:8080 I got: Cannot GET /

Timtech4u avatar Aug 29 '17 13:08 Timtech4u

ERROR in ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./client/App.vue Module not found: Error: Can't resolve 'components/UI/Notifications' in '/home/timtech4u/Desktop/Projectz/restmeal/client' @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./client/App.vue 15:0-56 @ ./client/App.vue @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js Child html-webpack-plugin for "index.html": Asset Size Chunks Chunk Names index.html 1.48 MB 0

Timtech4u avatar Aug 29 '17 14:08 Timtech4u

Same issue here. Webpack is not building.

ERROR in ./~/css-loader!./~/vue-loader/lib/style-compiler?{"id":"data-v-2393bda2","scoped":false,"hasInlineConfig":true}!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./client/components/layout/FooterBar.vue
Module build failed: 
  @media screen and (max-width: $tablet - 1px)
                               ^
      Undefined variable: "$tablet".
      in /Users/Vivek/Development/vuexfire-admin/node_modules/bulma/sass/utilities/mixins.sass (line 191, column 33)
 @ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-compiler?{"id":"data-v-2393bda2","scoped":false,"hasInlineConfig":true}!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./client/components/layout/FooterBar.vue 4:14-333 13:3-17:5 14:22-341
 @ ./client/components/layout/FooterBar.vue
 @ ./client/components/layout/index.js
 @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./client/App.vue
 @ ./client/App.vue
 @ ./client/app.js
 @ ./client/index.js
 @ multi ./build/dev-client ./client/index.js

ERROR in ./~/css-loader!./~/vue-loader/lib/style-compiler?{"id":"data-v-6d7f2ac1","scoped":true,"hasInlineConfig":true}!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./client/views/ui/Form.vue
Module build failed: 
  @media screen and (max-width: $tablet - 1px)
                               ^
      Undefined variable: "$tablet".
      in /Users/Vivek/Development/vuexfire-admin/node_modules/bulma/sass/utilities/mixins.sass (line 191, column 33)
 @ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-compiler?{"id":"data-v-6d7f2ac1","scoped":true,"hasInlineConfig":true}!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./client/views/ui/Form.vue 4:14-327 13:3-17:5 14:22-335
 @ ./client/views/ui/Form.vue
 @ ./client/views lazy ^\.\/.*\.vue$
 @ ./client/store/modules/menu/lazyLoading.js
 @ ./client/store/modules/menu/index.js
 @ ./client/store/index.js
 @ ./client/app.js
 @ ./client/index.js
 @ multi ./build/dev-client ./client/index.js
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks  Chunk Names
    index.html  1.48 MB       0  
webpack: Failed to compile.
> Listening at http://localhost:8080

nkrvivek avatar Oct 21 '17 00:10 nkrvivek

@nkrvivek this is an issue with Bulma, after npm install go into node_modules/bulma/sass/utilities/mixins.sass and add @import './variables' to the top.

pi-ron avatar Oct 22 '17 21:10 pi-ron

It works now, You also need to change line 15 on ../client/App.vue to: import Notifications from 'components/ui/Notifications'

@pi-ron can I be added to the contributors list so I can push my working repo with changes?

Timtech4u avatar Oct 23 '17 06:10 Timtech4u

@fundon Can we add Timtech4u please?

pi-ron avatar Oct 30 '17 21:10 pi-ron