-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile issues #22
Comments
Same here. |
Me too. |
@Jonnyxe and @korneliuskristianr if you continue to have issues, I'd suggest moving to elixir 6.0.0.0+ and using webpack. takes a little work to get going but you'll avoid compile issues and be "on the same page" with jeffrey |
If someone can give more information as to what's causing this, please comment so we can fix it. |
I am having the same issue. I have been trying to figure out where the issue is coming from. If I set the Saving To...
- public/js/app.js
[18:34:12] gulp-notify: [Laravel Elixir] Browserify Failed!: Unexpected token
/home/vagrant/code/tmp_app/node_modules/vue-strap/src/spinner.scss:10
$brand-primary: darken(#428bca, 6.5%); // #337ab7 I am not quite sure what browserify config object is missing, but I haven't changed anything in my gulpfile. This is my current gulpfile.js (for months). I'm still looking since this has me at a stand still, but thought I'd post if it helped anyone else. elixir(function(mix) {
mix.less('app.less')
.browserify('app.js', null, null, { paths: 'vendor/laravel/spark/resources/assets/js' })
.copy('node_modules/sweetalert/dist/sweetalert.min.js', 'public/js/sweetalert.min.js')
.copy('node_modules/sweetalert/dist/sweetalert.css', 'public/css/sweetalert.css');
}); |
For whatever reason, module.exports = function vueify (file, options) {
if (!/.vue$/.test(file)) return through()
console.log(file);
console.log(options);
compiler.applyConfig(options) I get an undefined variable for Not sure why though |
Looks like it this commit is what caused the problem; when they added the options & applyConfig. |
For now ended up with let
modal = require('vue-strap/dist/vue-strap.min').modal;
// instead of:
// modal = require('vue-strap/src/Modal.vue'); |
Using version 1.04 (same issue on 1.03), I'm running into this problem. See below. It started out of the blue -- I never had seen the issue before. No files were changed since a successful recompile, but I did switch operating systems from Ubuntu to Mac.
Latest node/npm/gulp installed using homebrew.
Everything compiles down if I exclude my vue components.
The text was updated successfully, but these errors were encountered: