Skip to content
xidedix edited this page Jun 5, 2018 · 9 revisions

Welcome to the CoreUI-Vue wiki!

FAQ:

1. No such file or directory error in node_modules/...

sometimes things go wrong with npm install
try:

  • remove node_modules directory
  • remove package-lock.json file
  • then npm install

2. Module build failed: Error: ENOENT: no such file or directory, scandir './node_modules/node-sass/vendor'

ERROR Failed to compile with 1 errors 23:33:38

error in ./src/App.vue

run npm rebuild node-sass


3. Unable to start with this project

assuming that you've got node & npm installed properly
try this way:

cd Vue_Starter  
npm install
npm start

4. How to start vue after doing npm run build?

Built files are meant to be served over an HTTP server.

If you don't have your own server, and you want to test your build locally, you can set up a local web server on your computer. See: https://www.npmjs.com/package/vue-http-server

install globally:

npm install http-server -g

then navigate to your dist folder:

cd dist

and start the server:

http-server -o
Clone this wiki locally