-
-
Notifications
You must be signed in to change notification settings - Fork 974
Home
xidedix edited this page Jun 5, 2018
·
9 revisions
Welcome to the CoreUI-Vue wiki!
FAQ:
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
assuming that you've got node & npm installed properly
try this way:
cd Vue_Starter
npm install
npm start
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