Posts

Showing posts from July, 2020

Path Argument Error When Using webpack With less-loader

I'm currently in the process of trying to upgrade the version of webpack in an old Angular project, which doesn't use the Angular CLI. I made the necessary modifications to upgrade from version 3 to version 4, but was getting the following error with less-loader : (node:672) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined     at validateString (internal/validators.js:112:11)     at Object.normalize (path.js:266:5)     at new LessError (C:\DevGit\MyOrg.Portal\MyOrg.Portal.Mvc\Resources\ng\node_modules\less-loader\dist\LessError.js:15:169)     at C:\DevGit\MyOrg.Portal\MyOrg.Portal.Mvc\Resources\ng\node_modules\less-loader\dist\index.js:62:14 This had me tweaking the webpack config endlessly, until finding out that this is apparently an issue in less-loader v6. When I downgraded to v5.0.0, the problem went away...leaving me with the next problem to troubleshoot. ...

At The Movies, Part 2

Image
In my previous post , I talked about Siskel and Ebert, and how much I enjoyed their show. In this  post, I want to talk about my own  love of the movies. There’s something about the moviegoing experience that I really enjoy, but I can’t really put my finger on it. It may just be the atmosphere, being in an auditorium and a large screen. But it also might be the trailers, or the dimming of the lights as it all starts, or the reaction of the crowd. I remember seeing Terminator 2  on opening night, and the audience just gasping  as Schwarzenegger did that first one-handed shotgun cocking while riding a motorcycle. While I enjoy watching movies from the comfort of my home, there’s something to be said for being in a theater. Under normal circumstances, I might get to the movies once or twice a year, and some years not at all. But with the current COVID situation, it’s not an option. However, I found an alternative, a not-quite-the-same but still enjoyable way to experien...

At The Movies, Part 1

Image
When I was a kid, I loved whenever I would happen across Siskel and Ebert’s TV show. I think it was shown at 7pm on Saturdays in my area, but I don’t remember ever setting out intentionally to watch it — I’d just happen to catch it. I always enjoyed getting to watch clips from the new movies they’d be reviewing, and hearing them give their thoughts — and often debate — about the films. It was one of two movie review shows I was aware of, the other being Sneak Previews  (which I learned only relatively recently had originally been their  show). But I preferred Siskel and Ebert’s At The Movies  (and later Siskel and Ebert and The Movies ). It wasn’t just the format of the show, but its hosts. And thanks to YouTube, I’ve been able to revisit a lot of their reviews, including a lot I’d never seen before. I’ve had a blast watching these clips and checking out their reviews of movies I like. We didn’t always agree, but I always enjoyed hearing their thoughts. Sometimes, they wo...