cannot compile in gulp
See original GitHub issueI downloaded your package in my laravel 5.3 + vuejs 2.1.3
npm install vue-masked-input --save
then in app.js
import MaskedInput from 'vue-masked-input';
then in vue component I have field (I also have vee-validate)
<div class="form-group col-xs-12 col-sm-6" :class="{'has-error': errors.has('phone') }">
<label>phone</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-phone"></i></span>
<masked-input v-model="phone" mask="\+\7 (111) 111-11-11" placeholder="phone" name="phone"/>
</div>
<p class="text-danger" v-if="errors.has('phone')">{{ errors.first('phone') }}</p>
</div>
then I have errors when trying to compile all this in gulp.
> gulp
[19:50:45] Using gulpfile d:\OpenServer\domains\mysite.new\gulpfile.js
[19:50:45] Starting 'all'...
[19:50:45] Starting 'copy'...
[19:50:45] Finished 'copy' after 55 ms
[19:50:45] Starting 'copy'...
[19:50:45] Finished 'copy' after 9.93 ms
[19:50:45] Starting 'sass'...
[19:50:46] Finished 'sass' after 883 ms
[19:50:46] Starting 'styles'...
[19:50:46] Finished 'styles' after 52 ms
[19:50:46] Starting 'webpack'...
{ [Error: ./~/buble-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./~/vue-masked-input/src/MaskedInput.vue
Module build failed: Error
at ForOfStatement.initialise (d:\OpenServer\domains\mysite.new\node_modules\buble\dist\buble.umd.js:2004:65)
at d:\OpenServer\domains\mysite.new\node_modules\buble\dist\buble.umd.js:9381:56
at Array.forEach (native)
at BlockStatement.initialise (d:\OpenServer\domains\mysite.new\node_modules\buble\dist\buble.umd.js:9381:15)
at Node.initialise (d:\OpenServer\domains\mysite.new\node_modules\buble\dist\buble.umd.js:858:12)
at d:\OpenServer\domains\mysite.new\node_modules\buble\dist\buble.umd.js:9381:56
at Array.forEach (native)
at BlockStatement.initialise (d:\OpenServer\domains\mysite.new\node_modules\buble\dist\buble.umd.js:9381:15)
at FunctionExpression.initialise (d:\OpenServer\domains\mysite.new\node_modules\buble\dist\buble.umd.js:858:12)
@ ./~/vue-masked-input/src/MaskedInput.vue 5:18-105
@ ./resources/assets/js/frontend/app.js]
message: './~/buble-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./~/vue-masked-input/src/MaskedInput.vue\nModule build fai
led: Error\n at ForOfStatement.initialise (d:\\OpenServer\\domains\\mysite.new\\node_modules\\buble\\dist\\buble.umd.js:2004:65)\n a
t d:\\OpenServer\\domains\\mysite.new\\node_modules\\buble\\dist\\buble.umd.js:9381:56\n at Array.forEach (native)\n at BlockStateme
nt.initialise (d:\\OpenServer\\domains\\mysite.new\\node_modules\\buble\\dist\\buble.umd.js:9381:15)\n at Node.initialise (d:\\OpenServ
er\\domains\\mysite.new\\node_modules\\buble\\dist\\buble.umd.js:858:12)\n at d:\\OpenServer\\domains\\mysite.new\\node_modules\\buble\
\dist\\buble.umd.js:9381:56\n at Array.forEach (native)\n at BlockStatement.initialise (d:\\OpenServer\\domains\\mysite.new\\node_mo
dules\\buble\\dist\\buble.umd.js:9381:15)\n at FunctionExpression.initialise (d:\\OpenServer\\domains\\mysite.new\\node_modules\\buble\
\dist\\buble.umd.js:858:12)\n @ ./~/vue-masked-input/src/MaskedInput.vue 5:18-105\n @ ./resources/assets/js/frontend/app.js',
showStack: false,
showProperties: true,
plugin: 'webpack-stream',
__safety: { toString: [Function: bound ] } }
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Gulp doesn't compile my files - Stack Overflow
I've created the following gulpfile.js but when I type gulp in my terminal it doesn't give any errors, but it also doesn't compile...
Read more >RE: Cannot Load Compass on Gulp Build - Forums - Liferay
I am guessing it is never being compiled into SCSS. I have tried to re-run "gem install sass compass" and it shows that...
Read more >gulp-less - npm
Start using gulp-less in your project by running `npm i gulp-less`. There are 988 other projects in the npm registry using gulp-less.
Read more >Gulp command not creating the compile file from .scss file
Gulp command not creating the compile file from .scss file. I have install laravel 5.2 and also install the elixir. When I run...
Read more >How to fix error "cannot find module gulp-sass" in Gulp
This error message means that Gulp is trying to run a function from the gulp-sass package, but it can't locate it. If you're...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m having the same issue.
Thanks Etjie for information , I have the same issue , I ’ ll try installing latest version