Giter VIP home page Giter VIP logo

vue-shop's Issues

npm install issue

hi i am siddu new to vue js frame work i gone through video which u posted on youtube it was really gud thanks for posting the video. the issue what i am facing is i cloned ur git repo then while installing npm i getting this error can u please help me out it will be helpful thanks!!
vue-cli-issue

Error! When $npm run serve

Getting module error firebase,main.js and other
Can u suggest why getting this specific module error during $npm run serve

Error when type $ npm run serve

$ npm run serve

[email protected] serve C:\xampp\htdocs\laravelapp\vue-shop
vue-cli-service serve

INFO Starting development server...
94% after seal ERROR Failed to compile with 8 errors4:01:09 PM

These relative modules were not found:

  • ../firebase in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Login.vue?vue&type=script&lang=js&, ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/sections/ProductList.vue?vue&type=script&lang=js& and 4 others
  • ./firebase in ./src/main.js, ./src/router.js

Can someone help me to fix this

vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in v-on handler: "FirebaseError: [code=invalid-argument]: Function DocumentReference.update() called with invalid data. Invalid field path (.key). Paths must not be empty, begin with '.', end with '.', or contain '..'"

Error while $npm run serve

node_module gets uninstalled every time when I run npm run serve

npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1092:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Darwin 21.5.0
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/vikash/Downloads/vue-shop-master/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
npm ERR! node-pre-gyp ERR! cwd /Users/vikash/Downloads/vue-shop-master/node_modules/grpc
npm ERR! node-pre-gyp ERR! node -v v16.14.2
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.12.0
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/vikash/.npm/_logs/2022-06-14T13_20_52_926Z-debug-0.log
โฏ npm run serve

> [email protected] serve
> vue-cli-service serve

sh: vue-cli-service: command not found```

Help ๐Ÿ™๐Ÿฝ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.