I'm afraid some dependencies are missing :
$ npm install --save-dev vue-loader
/Users/loranger/Developer/projects/fairechier
โโโ UNMET PEER DEPENDENCY css-loader@*
โโโ UNMET PEER DEPENDENCY style-loader@*
โโโ UNMET PEER DEPENDENCY vue-html-loader@^1.0.0
โโโฌ [email protected]
โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โโโ [email protected]
โโโ [email protected]
โโโฌ [email protected]
โโโ [email protected]
โโโ [email protected]
โโโ [email protected]
npm WARN EPEERINVALID [email protected] requires a peer of vue-html-loader@^1.0.0 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of css-loader@* but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of style-loader@* but none was installed.
Did I miss something ?
Are you using npm3? Starting in npm3 it no longer auto-install peer dependencies for you. You have to install these peer dependencies yourself (with --save so they are included in your package.json).
Shouldn't these be regular dependencies then? Seems like a lot of steps to get vue-loader up and running, and they're not documented :/ Perhaps I'm not understanding peer dependencies well enough.
@timwis the easiest way is really just clone https://github.com/vuejs/vue-loader-example and tweak it for your needs. It has everything set up.
would someone post a sample project that is working and accessible .
will be good help to most of the people includeing me :)
@dipen7 I recommend using vue-cli (the current stable version, 2.x) with the webpack-simple template:
npm install --global vue-cli
vue init webpack-simple project-name-here
Thanks for the reply and Actually i've already started a project can i use
this for the prebuild project? If yes then how?
On Mon, Apr 9, 2018, 3:40 PM Tim Wisniewski notifications@github.com
wrote:
@dipen7 https://github.com/dipen7 I recommend using vue-cli
https://github.com/vuejs/vue-cli/tree/master (the current stable
version, 2.x) with the webpack-simple
https://github.com/vuejs-templates/webpack-simple template:npm install --global vue-cli
vue init webpack-simple project-name-hereโ
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue-loader/issues/21#issuecomment-379698768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfY6L-nmkRT8qNrN1vKU1i6xrVe0vquyks5tmzAOgaJpZM4GIlUb
.
Most helpful comment
Shouldn't these be regular dependencies then? Seems like a lot of steps to get vue-loader up and running, and they're not documented :/ Perhaps I'm not understanding peer dependencies well enough.