Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

StuffedGoat's avatar

Problems with Cloud Hosting (Fortrabbit)

Hi!

I wanted to rebuild Jeffreys "Project Flyer" and decided to do that on fortrabbit because they have a free trial.

I managed to install Laravel but right in the third episode you have to install something via "npm install". I read that I first need Node.js for that so I looked for tutorials about how to install this.

The problems I have at fortrabbit are now:

  • via SSH Shell he doesn't know "sudo" or "apt-get" or "su" so I can not install Node.js
  • fortrabbit doesn't provide any recommandatoins how to do stuff at this "App" without root-permission

I'm wondering how the "Pro's" handle their Apps on fortrabbit without that? If I remeber correctly laracasts.com is also hosted at fortrabbit?!

Anyway I found a tutorial without "sudo" but I just came to the point ./configure an he says -bash: ./configure: Permission denied

wget http://nodejs.org/dist/node-latest.tar.gz
tar xvzf node-latest.tar.gz
cd nodejs
./configure
make
make install

It frustrating :(

Then I found a composer package to install Node.js & NPM (https://github.com/thecodingmachine/nodejs-installer). I could install it successfully but a simple command like npm install in my laravel directory doesn't do anything.

Any ideas how I could come out of this misery? I'm just sad about all this complicated stuff like homestead, vps.. I just want to code some PHP lines without all the hassle. :/

0 likes
2 replies
rwdevguy's avatar

Are you using the fortrabbit account instead of a local server?

ostark's avatar

Just install and run node/gulp locally and commit the generated css/js files to fortrabbit.

Please or to participate in this conversation.