lluis96

lluis96

Member Since 1 Year Ago

Experience Points 280
Experience Level 1

4,720 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

21 Dec
1 year ago

lluis96 started a new conversation Error: Spawn Php Artisa Vue-i18n:generate ENOENT When Trying To Make Gulp

Actually I'm trying to compile one gulpfile, when I make

gulp --gulpfile gulpfile.js

this error appears:


[17:42:15] Using gulpfile ~/Escritorio/Projectstoshow/test/test/gulpfile.js
[17:42:15] Starting 'all'...
[17:42:15] Starting 'task'...
[17:42:15] Starting 'js-langs'...
[17:42:15] Finished 'task' after 38 ms
[17:42:15] Starting 'webpack'...
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn php artisan vue-i18n:generate ENOENT
    at exports._errnoException (util.js:870:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:441:9)
    at process._tickCallback (node.js:355:17)
    at Function.Module.runMain (module.js:444:11)
    at startup (node.js:136:18)
    at node.js:966:3

I installed the vue with this command

npm install vue-i18n --save

And this is my gulpfile (the task called js-langs it's the problem)

const elixir = require('laravel-elixir');
var argv = require('yargs').argv;
var shell = require('gulp-shell');
require('laravel-elixir-vue-2');
elixir(function(mix) {

    mix.task('js-langs', ['resources/lang/**/*.php']);

    //VENDOR CSS
    var vendorcss = [
        '../../../node_modules/flexslider/flexslider.css',
        '../../../node_modules/animate.css/animate.css',
    ];

    var vendorjs = [

    ];

    if (argv.production !== undefined) {
        vendorjs.push('lib/production.js');
    }
    mix.webpack('app.js', 'public/assets/js/app.js')
    mix.styles(vendorcss, 'public/assets/css/vendor.css');
    mix.sass(['../../../public/assets/css/vendor.css', 'resources/assets/sass/app.scss'], 'public/assets/css');

    mix.webpack(vendorjs, 'public/assets/js/vendor.js');

    if (!argv.production && !argv.devel) {
        mix.browserSync({
            proxy: 'testing.loc',
            open: false,
            reloadDebounce: 1000,
            files: [
                //'app/**/*.php',
                'public/assets/css/**/*.css',
                'public/assets/js/**/*.js',
                'public/assets/js/**/*.vue',
                'resources/views/**/*.php'
            ]
        })
    }
})

gulp.task('js-langs', shell.task([
    "php artisan vue-i18n:generate",
]));

If I make the command on shell works, what's wrong? Thanks!

lluis96 left a reply on No Input File Selected Homestead Windows

Perfect. Thanks a lot for your help. Actually I'm getting an error about Vue when try to gulp, maybe you can help me. (On other computer with Ubuntu I'm stuck in this step) It's not a recently problem I tried to solved but anything..

lluis96 left a reply on No Input File Selected Homestead Windows

Ok! I don't know why, but when make provision create the folder with the lower case so the sites must be /home/vagrant/projects/puvik/public

Know why? Thanks mate.

lluis96 left a reply on No Input File Selected Homestead Windows

Thanks Mark we fix something but isn't working as expected. "No input file selected" but when I make ssh now I see the folder! Let's check the paths

lluis96 left a reply on No Input File Selected Homestead Windows

Wow. nice guide ;) I will check all now.

lluis96 left a reply on No Input File Selected Homestead Windows

Nothing.. I destroy the machine, make a new one and folder is empty.

lluis96 left a reply on No Input File Selected Homestead Windows

Hi xmarks, When I connect to Virtual Machine with homestead ssh I check this. I have a folder with name: c:\Users\Lluis\Projects and nothing inside. I will try to delete the machine and make again vagrant up. Give me a few minuts

lluis96 started a new conversation No Input File Selected Homestead Windows

This are my real paths:

Where I want to copy files when make vagrant up: D:\Homestead_Projects

Where I have my projects: C:\Users\Lluis\Projects

Inside Projects I have a Laravel Project with name puvik

My homestead file looks like here:

ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox

authorize: c:/Users/Lluis/.ssh/id_rsa.pub

keys:

  • c:/Users/Lluis/.ssh/id_rsa

folders: - map: d:/Homestead_Projects to: c:/Users/Lluis/Projects

sites: - map: homestead.app to: c:/Users/Lluis/Projects/puvik/public

databases: - homestead

What's wrong with the code? Thanks!

lluis96 left a reply on Homestead Error On Windows

Hi @Dunsti I solved the error, now looks like here:

authorize: c:/Users/Lluis/.ssh/id_rsa.pub

keys:

  • c:/Users/Lluis/.ssh/id_rsa

folders: - map: d:/Homestead_Projects to: c:/Users/Lluis/Projects

sites: - map: homestead.app to: c:/Users/Lluis/Projects/puvik/public

databases: - homestead

I'm on Windows, so my real path are this:

C:\Users\Lluis\Projects (Inside projects I have other folders, like puvik).

And also I have this path D:\Homestead_Projects

My idea it's when I'm working on C:\Users\Lluis\Projects\Nameofproject\public at the same time copy to D:\Homestead_Projects

actually I get "No input file selected" on webpage, seems like URL it's not correctly. You can see the error?

20 Dec
1 year ago

lluis96 started a new conversation Homestead Error On Windows

I'm getting this error:

C:/Users/Lluis/Homestead/scripts/homestead.rb:125:in configure': undefined methodeach' for "\u00D4\u00C7\u00F6 c:/Users/Lluis/.ssh/id_rsa":String (NoMethodError)

I see in others questions here on Laracast maybe it's an error of paths, but I check it and not. Here's my Homestead.yaml file.

ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox

authorize: c:/Users/Lluis/.ssh/id_rsa.pub

keys: — c:/Users/Lluis/.ssh/id_rsa

folders: - map: e:/Homestead_Projects to: /home/vagrant/code

sites: - map: homestead.app to: /home/vagrant/code/Laravel/public

databases: - homestead

If someone can help me will be great, thanks!

23 Aug
1 year ago

lluis96 left a reply on Update Database When Drag And Drop

Hi bashy! I just see an other post of the same topic here on laracast where you answer too:)

I'm not really advanced on js. Can you explain it step by step? Thanks a lot.

lluis96 started a new conversation Update Database When Drag And Drop

Can check the question here:

https://stackoverflow.com/questions/45839623/update-database-when-drag

Any help will be really appreciated.