Skip links

Main navigation

Never let fear of failure hold you back when you’re learning

These past couple of weeks have been something for me. I was grappling with how El Capitan worked, grappling with the fact that I had done global installs as per npm documentation without truly understanding the consequences until something would go wrong and it would be brought into the light of day; then having my older not such great posts retweeted when more updated solutions had been published. But even those answers ended up not being the greatest. The one thing I did learn recently, is ... Continue Reading

Fixing npm permissions

I have been talking a lot about permissions, SIP, El Capitan, and how it could change the way we develop. It still could, but at least in the world of Nodejs and npm, things are looking good. I did find a work around with npm, and it is part of their new documentation on their website. It's entitled "Fixing npm permissions". You don't have to fool with your .profile (and you probably can't anyway if you're on the latest OSX operating system), and there is no sudo involved. Remember how I said ... Continue Reading

Why you would want to do a -g npm install – really! [update]

Update 8.4.16: The comments on Medium got me curious, and I did come across npm documentation as how to avoid using sudo for -g installs. However, as a result, more questions have popped up which I have posted via npm issues. Am awaiting a reply and will write about my findings when they are rendered. I have been getting into debates with people as to why one would want or not want to install npm packages globally using the -g flag. Well, I have news for you. There are times when you do need to ... Continue Reading

How to uninstall global npm packages

I guess I really am on a roll today. Since I have written a post about uninstalling local packages, it was only logical to write posts about uninstalling global packages. This npm inc. video is about uninstalling local packages. https://youtu.be/XbvjZxUZJGg Related Posts: Uninstalling global packages (docs.npmjs.com) How to modify System Integrity Protection in El Capitan: (In case you have software hindered by it) Glenn Fleishman,September 30, 2015, MacWorld El Capitan’s System Integrity ... Continue Reading

How to uninstall local npm packages

I'm on a roll today. Since I have written posts about installing npm packages globally and locally, it was only logical to write posts about uninstalling. There is an official npm inc. video about uninstalling local npm packages and one about uninstalling global npm packages. This video is about uninstalling local packages. https://youtu.be/Z-BpYj6cSoQ Related Posts: Uninstalling local packages (docs.npmjs.com) How to modify System Integrity Protection in El Capitan: (In case you have ... Continue Reading

When you want to install npm packages globally

Since I started having problems with Nodejs and npm re El Capitan, I decided to find out exactly why one would want to install locally vs globally. By default, El Capitan still permits us to install npms locally, but not globally. I came across a video post regarding why one would install npm packages globally instead of locally, and decided to share it here. https://youtu.be/JXi9pg5fsao Related Posts: * Installing npm packages globally How to modify System Integrity Protection in El ... Continue Reading

When you want to install npm packages locally

Since I started having problems with Nodejs and npm re El Capitan, I decided to find out exactly why one would want to install locally vs globally. By default, El Capitan still permits us to install npms locally, but not globally. I came across a video post regarding why one would install npm packages locally instead of globally, and decided to share it here. https://youtu.be/JDSfqFFbNYQ Related Posts: Installing npm packages locally (docs.npmjs.com) How to modify System Integrity Protection ... Continue Reading

Atom Rocks II

I have been getting to know Atom much better since I just started using it about a week ago. Did you know that there is a Community Atom package called  Atom-Live-Server that acts as a local http server AND reloads your project's pages as you work? So whatever changes you make within your project repo/directory(s) will be immediately updated. However, if you are working on a Sass file, just make sure that you have typed the command [crayon-57bffc7569c3c545579587/] in Terminal and that it is ... Continue Reading

El Capitan and beyond could change the way we develop

If El Capitan is the wave of the future with Apple computers, it has already changed the way we develop. It changes our developer workflow. It is forcing the hand of so many an open source software that developers currently depend on. For instance, in the case of nodejs and npm, El Capitan still permits administrator control of /usr/local/bin, which means that we can still install our favorite plugins as dev dependencies, but we can no longer do -g installs. We are denied the permission to do so ... Continue Reading

Gulp 3.9.1 and Nodejs 6.3.0

My workflow is still not working, even though I removed the lingering gulp file that was present in the usr/local/bin path. I went onto the gulpjs repo on Github under issue #1571 from March 17, 2016 (yes, March 17) and it stated the following: We are aware of the graceful-fs deprecation warning upon install of gulp 3.x. This is due to: 1. our graceful-fs devDependency 2. the vinyl-fs dependency Both of which we are unable to upgrade due to API breaking changes. There is nothing wrong with ... Continue Reading