THE LATEST

env: node\r: No such file or directory Error: Hook failed error code 127 osx

If your getting the error message env: node\r: No such file or directory Error: Hook failed with error code 127 while trying to build your Ionic or Cordova application under OSX it's most likely due to the line ending format in the file in question.

The simplest way is to use dos2unix utility (can be install with brew install unix2dos), simply put it will covert the file from the Windows \r\n format to the Unix based \n.

For example if your have an issue with 010_add_platform_class.js you would simple run :-

unix2dos 010_add_platform_class.js
Filed under: Ionic, Cordova  Tags: Ionic

RECENT ARTICLES

Move your Microsoft OS Window with the keyboard

A simple method to move your Windows 7 open window with your keyboard...

Filed under: Windows  Tags: Win7

How to Enable a temporary administrator account in SilverStripe CMS

To enable a temporary administrator account in SilverStripe add the following...

Filed under: Silverstripe  Tags: Ss

How to Enable a temporary administrator account in SilverStripe CMS

To enable a temporary administrator account in SilverStripe add the following...

Filed under: Silverstripe  Tags: Ss

How to turn off your RadStudio IDE start page banner display

Your Embarcadero RAD Studio program installation folder contains a subfolder named "Welcomepage". For a non-English version locate the language specific subfolder...

How to turn off your RadStudio IDE start page banner display

Your Embarcadero RAD Studio program installation folder contains a subfolder named "Welcomepage". For a non-English version locate the language specific subfolder...

(default) 8 queries took 6 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1DESCRIBE `posts`17171
2DESCRIBE `comments`11111
3DESCRIBE `tags`220
4DESCRIBE `categories`221
5DESCRIBE `posts_tags`221
6DESCRIBE `categories_posts`221
7SELECT COUNT(*) AS `count` FROM `posts` AS `Post` WHERE `Post`.`status` = 1 110
8SELECT `Post`.`id`, `Post`.`url`, `Post`.`title`, `Post`.`icon`, `Post`.`metadesc`, `Post`.`metakeys`, `Post`.`categories`, `Post`.`tease`, `Post`.`body`, `Post`.`private_body`, `Post`.`created`, `Post`.`modified`, `Post`.`status`, `Post`.`allow_comments`, `Post`.`tags`, `Post`.`hitcount`, `Post`.`hitcount_rss` FROM `posts` AS `Post` WHERE `Post`.`status` = 1 ORDER BY `Post`.`created` desc LIMIT 6661