msr2406

msr2406

Member Since 1 Year Ago

Experience Points
23,220
Total
Experience

1,780 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
226
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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.

Level 5
23,220 XP
Mar
26
1 week ago
Activity icon

Replied to Npm Install Failing - Nightmare!

Worked it out. Checked what a vanilla install of a v6 project would put in my dependencies, updated the versions and added a couple of lines like resolve-url-loader, etc. and all installed ok. Lesson learned. :)

Activity icon

Started a new Conversation Npm Install Failing - Nightmare!

I have a project that started at laravel 5.7 and have upgraded to 6.0

I want to start using vue so composer installed laravel/ui, artisan'd the bootstrap and vue scaffolding and typed npm install.

The first four lines on my screen said:

> [email protected] install /media/mark/97693281-8995-4217-a10a-86b2f12c330f/mark/Laravel/PiScreen/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.0/linux-x64-72_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.0/linux-x64-72_binding.node": 

It then started:

Building: /home/mark/.nvm/versions/node/v12.16.1/bin/node /media/mark/97693281-8995-4217-a10a-86b2f12c330f/mark/Laravel/PiScreen/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=

Which eventually failed with incomprehensible errors and warnings.

I checked the github url for the node-sass download with my browser and found that it did not exist.

I have npm version 6.13.4 and node v12.16.1 nvm is version 0.35.3

My package.json is:

    "devDependencies": {
        "axios": "^0.16.2",
        "bootstrap": "^4.0.0",
        "bootstrap-sass": "^3.3.7",
        "cross-env": "^5.0.1",
        "jquery": "^3.2",
        "laravel-mix": "^1.0",
        "lodash": "^4.17.4",
        "popper.js": "^1.12",
        "vue": "^2.1.10"
    },
    "dependencies": {
        "ajv": "^6.5.0"
    }

Anyone fancy a webex to help sort this out or is there somewhere I can go to fix the erroneous node-sass url for starters?

Thanks in anticipation

Mar
24
1 week ago
Activity icon

Awarded Best Reply on Auth: Resend Email Verification Link Goes To POST Route?

Oops Found it in the upgrade notes for version 6. Silly me.

Activity icon

Replied to Auth: Resend Email Verification Link Goes To POST Route?

Oops Found it in the upgrade notes for version 6. Silly me.

Activity icon

Started a new Conversation Auth: Resend Email Verification Link Goes To POST Route?

I'm using the scaffolding from php artisan make:auth.

I register an new user Get the screen that asks the use to verify the email address. When i click the link to request a resend of the verification email I get:

The GET method is not supported for this route. Supported methods: POST.

My php artisan route:list does indeed show the POST method for the email/resend route.

I started this project at version 5.7 and have upgraded to 6.0 via 5.8. Have I missed something along the way?

Dec
13
3 months ago
Activity icon

Started a new Conversation Cashier: Create Subscription Specifying Stripe Data

I want to create a Cashier Subscription specifying values for Stripe data: prorate, trial_end and billing_cycle_anchor.

I see I can use trialUntil() and anchorBillingCycleOn() when creating a subscription but how to set prorate to false? There is no noProrate() function in SubscriptionBuilder.

Can I pass Stripe data directly into the Subscription creation process via an options argument somewhere - or some other way?

Nov
28
4 months ago
Activity icon

Replied to Baffled!! Email Not Being Sent To To Address

Aargh!! Found it with the @Narkov array suggestion. Looks like the emails are not being sent to gmail recipients but will go to non-gmail recipients. Might be an outgoing SPAM filter issue - need to check with my hosting company. So not a Laravel issue (or my coding :))

Thanks very much for your help.

Activity icon

Replied to Baffled!! Email Not Being Sent To To Address

Thanks for the replies. Mail driver is smtp.

I know it gets sent to the bcc recipient because I own that email address ([email protected] is a substitute email for this assistance request)

Niether using the user object nor the raw e-mail works.

Could it be relevant that the Mail call is being made from an Artisan command?

Activity icon

Replied to Baffled!! Email Not Being Sent To To Address

DeviceOffline.php:

<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;

class DeviceOffline extends Mailable
{
        use Queueable, SerializesModels;

        public $device;

        /**
         * Create a new message instance.
         *
         * @return void
         */
        public function __construct($device)
        {
                $this->device=$device;
        }

        /**
         * Build the message.
         *
         * @return $this
         */
        public function build()
        {
                return $this->subject("Your PiScreen, {$this->device->device_name}, is offline")
                        ->markdown('emails.device-offline');

        }
}

Driver is smtp

Activity icon

Started a new Conversation Baffled!! Email Not Being Sent To To Address

What is wrong with this call to the Mail facade:

Log::info('Device offline: ' . $dev->id. ', ' . $dev->user->email);
Mail::to($dev->user->email)
    ->bcc("[email protected]")
    ->send(new DeviceOffline($dev));

The mail gets sent to [email protected] but does not go to the email address in $dev->user->email. It's a string of a valid email address confirmed by the Log entry. I'm baffled.

Using Laravel 5.8

Oct
10
5 months ago
Activity icon

Replied to No Such Thing As A Dumb Question...

@hardiksadhu008 Thanks. That got me further.