independent full stack developer

/ Developer's blog

What if npm can't find the node /usr/bin/env: ‘node’: No such file or directory

Tuesday, May 30, 2023

Fixed! There is a popular issue when you try to make bower install and get the error about /usr/bin/env: "node": No such fileor directory. It's easy to fix.

for example, you get something like that

[email protected]:/var/www/space/public# bower install
/usr/bin/env: ‘node’: No such file or directory

To fix it, just make a symbolic link for your node-js in /usr/bin folder, and that's it!

[email protected]:/usr/bin# node
node-gyp  nodejs    
[email protected]:/usr/bin# ln -s nodejs node

read more Like the other 8663 people already did

Laravel 5.4 markdown email doesn't render HTML

Tuesday, May 30, 2023

If you ever stumbled with question why your markdown email in Laravel doesn't render properly, you have to know - that you need to remove any tabs/spaces before lines, so if you like to press CTRL+ALT+L and format your template pretty, be aware that it will broke your mail template :)

read more Like the other 3389 people already did

New Bootstrap release is coming! Pre-release was published.

Tuesday, May 30, 2023
read more Like the other 1896 people already did

HotFix: Laravel - Failed to open stream: Permission denied

Tuesday, May 30, 2023

#laravel #error

Sometimes it happens :) if you stumbled with error about file_get_content and permission denied - failed to open the stream in Laravel 5, try these commands, and everything should be fixed. Try this code if the error occurs on the localhost and dev server.

php artisan cache:clear
chmod -R 777 storage/
composer dump-autoload

read more Like the other 25718 people already did

How to fix Undefined variable: access_token Laravel - FacebookProvider

Tuesday, May 30, 2023

Today when I try to sign in via Facebook to my Laravel project, I got an error 

Undefined variable: access_token vendor/laravel/socialite/src/Two/FacebookProvider.php

If you use fersion ~1.0

To make it work normally with hotfix, open vendor/laravel/socialite/src/Two/FacebookProvider.php and replace

read more Like the other 7379 people already did

How to fix JavaScript and JSON error in Sublime with CodeFormatter package

Tuesday, May 30, 2023

For the last several months I try to migrate from PHPStorm to Sublime or Atom code editors. The reasons for my decision deserve a separate story, and I will write about it little soon. But now, I want to share how to fix a bug message when you try to format javascript or JSON code in Sublime Text 3 wit CodeFormatter package.So, if you got the message


Formatter for this file type (json (javascriptnext)) not found

Let's got to settings, and push some changes.

read more Like the other 2677 people already did

Handwriting device that is absolutely unique startup

Tuesday, May 30, 2023

Ever wonder about those childhood days where all your notes, homework and even imaginations were recorded on a paper with a pencil, we all go through these nostalgic feelings at some point in our life time. But this is the age of the digital touch where all our data is stored in digital form on our smart phones or tablets and as we know all these devices have a digital footprint. The smart phone and the tablet has been so deeply entrenched in our day-to-day affairs that they have almost become an extension of our body.

For those people who had notepads before to record or write down important notes from their days, these notepads have been replaced by digital tablets. Still if someone obviously wants to make use of the latest technology of the tablets but yearns for simple paper and pencil to make full use of his thoughts, and for those people exactly this is where Noteslate comes in.

Noteslate exterior

read more Like the other 1711 people already did

What's a storytelling? Check out new startup that makes it easy - Fixel startup

Tuesday, May 30, 2023

What's a storytelling

People around the world today are fascinated by cool picture and creative videos, whether they are slow motion, time lapse or a regular one. Social media like Facebook, tweeter inspires people to make such visual storytelling so they can show their story to the world. But a general perception about creating such cool visual stories is that it can’t be made easily, lets leave it to the pro’s or the equipment, software’s that can edit them are very expensive.

Well fortunately that’s not the case. Fixel will fix all these visual stories for you. Fixel is a very powerful software that can create such visual storytelling in a few clicks. You don’t need any special expertise either. It’s a very simple and handy tool that can take care of everything on its own.

All you need is to drag some scales. 

read more Like the other 1547 people already did