wagramdeveloper

wagramdeveloper

Member Since 4 Months Ago

Experience Points
160
Total
Experience

4,840 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.

Level 1
160 XP
Oct
11
1 month ago
Activity icon

Replied to Laravel Mix, Bootstrap Vue, Difference Between Production And Dev Builds

Further research shows that this was a known bug in the terser-webpack-plugin that was fixed over a year ago.

The terser-webpack-plugin is now at version 2.1.3. However, laravel, probably through laravel-mix is pulling in version 1.4.1.

Oct
09
2 months ago
Activity icon

Started a new Conversation Laravel Mix, Bootstrap Vue, Difference Between Production And Dev Builds

I have a Vue application in Laravel using Mix to build.

My javascript includes a

import BootstrapVue from 'bootstrap-vue';

Vue.use(BootstrapVue);

My webpack.mix.js is minimally modified.

The application uses a b-dropdown with b-dropdown-items.

The drop down works correctly in all IE 11 and Microsoft Edge when I create the dev build (npm run dev). However, when I create a production build (npm run prod), Edge fails with a TypeError: Invalid Calling Object when a user clicks the drop down.

This doesn't happen in Firefox or Chrome. The internet suggests that it might have to do with use strict somewhere in Bootstrap Vue.

Does anyone have any suggestions?

Sep
15
2 months ago
Activity icon

Started a new Conversation Mix, Npm Run Hot, Browser Crash: Uncaught TypeError: Cannot Read Property 'call' Of Undefined

This is Laravel Framework 6.0.3, npm version 6.9.0, Fedora 29, webpack [email protected]

Following the Laravel Mix documentation I added

    .options({
        hmrOptions: {
            host: 'xxx.yyy',
            port: 3000,
        },
    })

to webpack.mix.js, otherwise no changes.

This happens with the example route using welcome.blade.php as well as my own blade templates. I am running a Laravel website pointing app.js and app.cs at port 3000 where I am running npm run hot.

When running in Chrome (Version 78.0.3890.0 (Official Build) canary (64-bit)) with the developer tools open, Chrome stops with the following error:

app.js:727 Uncaught TypeError: Cannot read property 'call' of undefined
    at __webpack_require__ (app.js:727)
    at fn (app.js:101)
    at eval (app.scss?e8be:1)
    at Object../node_modules/extract-text-webpack-plugin/dist/loader.js?!./node_modules/style-loader/index.js!./node_modules/css-loader/index.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/resolve-url-loader/index.js?!./node_modules/sass-loader/dist/cjs.js?!./resources/sass/app.scss (app.js:1164)
    at __webpack_require__ (app.js:727)
    at fn (app.js:101)
    at eval (app.scss?11e7:2)
    at Object../resources/sass/app.scss (app.js:1737)
    at __webpack_require__ (app.js:727)
    at fn (app.js:101)

When I set a break point at the offending line (checking for undefined modules[moduleId]:

/******/        modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));

I see that the offending moduleId is ./node_modules/css-loader/lib/css-base.js. That file is definitely present in node_modules.

The example component is loaded and changes to ExampleComponent.vue are reflected in the browser immediately so it is not clear if this crash affects the web page in any way.

There are a few hits to possibly related github issues, mostly in webpack itself, mentioning the error message in various contexts, but I can't see a clear solution for my setup. It seems to possibly be an intermittent problem for some people.

Does anyone know how to solve this problem? Does the crash have any implications for the web page?

Thanks

Sep
13
2 months ago
Activity icon

Started a new Conversation Why Does Laravel Prepend Schema And Domain To All URLs?

As far as I know, browsers always supply the scheme and domain to URLs that don't have these. E.g. if my browser is pointed at https://somedomain.com and the browser encounters the URL /assests/app.js, it will send the request to https://somedomain.com/assets/app.js.

I know that Laravel now has configuration to make sure that a site works behind a load balancer, but wouldn't be easier if generated URLs simply didn't have include the scheme and domain?