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

Lebod's avatar

Error Creating a Site

Hi everyone, first post here.

We signed up for Forge with Linode. We get a weird error when trying to install a site on the server. I opened a ticket with Forge support and was told to check the dependency from the error on the require-dev dependencies. We did that and still getting the error below. Forge can connect to the server, it's not an SSH key or connection issue either.

We can log in to the server with the terminal and manually clone the BitBucket repository but Forge can't seem to do it. Any idea what the issue could be?

    Dashboard
    Servers
    Sites
    Recipes

Server Alerts
Issued  Level   Message     
May 13th, 12:04:36 PM   Error   We were unable to install a project on your server (sparkling-reef).        
May 13th, 11:46:30 AM   Error   We were unable to install a project on your server (sparkling-reef).        
Site Details
sparkling-reef default *** (192.***) Active  

    Apps
    Environment
    Queue Workers
    SSL Certificates
    Meta

Here you may initialize your site with any Github or Bitbucket repository, as well as uninstall any installed repository. Once the repository has been installed to the site, you can enable Quick Deploy to automatically deploy your site when you push new code!
Install Repository
Provider
  Bitbucket
  Custom
Repository
Branch
Installation Options
  Install Composer Dependencies
 
Alert Description

We had trouble connecting to your server. Typically, this means there is a problem with the SSH keys on the server. Or, your server may be prompting for a password when Forge attempts to SSH in as the root user.
Error Output

Cloning into 'default'...
Loading composer repositories with package information
Installing dependencies from lock file
  - Installing symfony/finder (v2.6.7)
    Loading from cache

  - Installing symfony/var-dumper (v2.6.7)
    Loading from cache

  - Installing psr/log (1.0.0)
    Loading from cache

  - Installing maximebf/debugbar (v1.10.4)
    Loading from cache

  - Installing vlucas/phpdotenv (v1.1.0)
    Loading from cache

  - Installing symfony/translation (v2.6.7)
    Loading from cache

  - Installing symfony/security-core (v2.6.7)
    Loading from cache

  - Installing symfony/routing (v2.6.7)
    Loading from cache

  - Installing symfony/process (v2.6.7)
    Loading from cache

  - Installing symfony/http-foundation (v2.6.7)
    Loading from cache

  - Installing symfony/event-dispatcher (v2.6.7)
    Loading from cache

  - Installing symfony/debug (v2.6.7)
    Loading from cache

  - Installing symfony/http-kernel (v2.6.7)
    Loading from cache

  - Installing symfony/console (v2.6.7)
    Loading from cache

  - Installing swiftmailer/swiftmailer (v5.4.0)
    Loading from cache

  - Installing nikic/php-parser (v1.3.0)
    Loading from cache

  - Installing jakub-onderka/php-console-color (0.1)
    Loading from cache

  - Installing jakub-onderka/php-console-highlighter (v0.3.1)
    Loading from cache

  - Installing dnoegel/php-xdg-base-dir (0.1)
    Loading from cache

  - Installing psy/psysh (v0.4.4)
    Loading from cache

  - Installing nesbot/carbon (1.19.0)
    Loading from cache

  - Installing mtdowling/cron-expression (v1.0.4)
    Loading from cache

  - Installing monolog/monolog (1.13.1)
    Loading from cache

  - Installing league/flysystem (1.0.3)
    Loading from cache

  - Installing jeremeamia/superclosure (2.1.0)
    Loading from cache

  - Installing ircmaxell/password-compat (v1.0.4)
    Loading from cache

  - Installing doctrine/inflector (v1.0.1)
    Loading from cache

  - Installing danielstjules/stringy (1.9.0)
    Loading from cache

  - Installing symfony/filesystem (v2.6.7)
    Loading from cache

  - Installing classpreloader/classpreloader (1.3.0)
    Loading from cache

  - Installing laravel/framework (v5.0.31)
    Loading from cache

  - Installing barryvdh/laravel-debugbar (v2.0.3)
    Loading from cache

  - Installing symfony/class-loader (v2.6.7)
    Loading from cache

  - Installing phpdocumentor/reflection-docblock (2.0.4)
    Loading from cache

  - Installing barryvdh/laravel-ide-helper (dev-master bb3bd26)
    Loading from cache

  - Installing guzzle/guzzle (v3.9.3)
    Loading from cache

  - Installing omnipay/common (v2.3.4)
    Loading from cache

  - Installing barryvdh/laravel-omnipay (dev-master 92fcf96)
    Loading from cache

  - Installing bugsnag/bugsnag (v2.5.4)
    Loading from cache

  - Installing bugsnag/bugsnag-laravel (v1.4.2)
    Loading from cache

  - Installing fideloper/proxy (3.0.0)
    Loading from cache

  - Installing guzzlehttp/streams (2.1.0)
    Loading from cache

  - Installing guzzlehttp/guzzle (4.2.3)
    Loading from cache

  - Installing intervention/image (2.2.1)
    Loading from cache

  - Installing iron-io/iron_core (0.2.3)
    Loading from cache

  - Installing iron-io/iron_mq (1.5.3)
    Loading from cache

  - Installing mustache/mustache (v2.8.0)
    Loading from cache

  - Installing laracasts/commander (1.4.3)
    Loading from cache

  - Installing laracasts/presenter (0.2.1)
    Loading from cache

  - Installing fzaninotto/faker (v1.4.0)
    Loading from cache

  - Installing laracasts/testdummy (2.3.2)
    Loading from cache

  - Installing laracasts/utilities (2.0)
    Loading from cache

  - Installing laravelcollective/html (v5.0.4)
    Loading from cache

  - Installing league/csv (6.3.0)
    Loading from cache

  - Installing lord/laroute (v2.0.0)
    Loading from cache

  - Installing hamcrest/hamcrest-php (v1.2.2)
    Loading from cache

  - Installing mockery/mockery (0.9.4)
    Loading from cache

  - Installing omnipay/authorizenet (v2.2.0)
    Loading from cache

  - Installing orchestra/database (v3.0.4)
    Loading from cache

  - Installing orchestra/testbench (v3.0.6)
    Downloading: Connecting...    Failed to download orchestra/testbench from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing orchestra/testbench (v3.0.6)
    Cloning 8531a1e17ebbba9049e69f993096141ae3a8bb4b

  - Installing symfony/yaml (v2.6.7)
    Downloading: Connecting...    Failed to download symfony/yaml from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing symfony/yaml (v2.6.7)
    Cloning f157ab074e453ecd4c0fa775f721f6e67a99d9e2

  - Installing sebastian/recursion-context (1.0.0)
    Downloading: Connecting...    Failed to download sebastian/recursion-context from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing sebastian/recursion-context (1.0.0)
    Cloning 3989662bbb30a29d20d9faa04a846af79b276252

  - Installing sebastian/exporter (1.2.0)
    Downloading: Connecting...    Failed to download sebastian/exporter from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing sebastian/exporter (1.2.0)
    Cloning 84839970d05254c73cde183a721c7af13aede943

  - Installing sebastian/diff (1.3.0)
    Downloading: Connecting...    Failed to download sebastian/diff from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing sebastian/diff (1.3.0)
    Cloning 863df9687835c62aa423a22412d26fa2ebde3fd3

  - Installing sebastian/comparator (1.1.1)
    Downloading: Connecting...    Failed to download sebastian/comparator from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing sebastian/comparator (1.1.1)
    Cloning 1dd8869519a225f7f2b9eb663e225298fade819e

  - Installing doctrine/instantiator (1.0.4)
    Downloading: Connecting...    Failed to download doctrine/instantiator from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing doctrine/instantiator (1.0.4)
    Cloning f976e5de371104877ebc89bd8fecb0019ed9c119

  - Installing phpspec/prophecy (v1.4.1)
    Downloading: Connecting...    Failed to download phpspec/prophecy from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpspec/prophecy (v1.4.1)
    Cloning 3132b1f44c7bf2ec4c7eb2d3cb78fdeca760d373

  - Installing phpspec/php-diff (v1.0.2)
    Downloading: Connecting...    Failed to download phpspec/php-diff from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpspec/php-diff (v1.0.2)
    Cloning 30e103d19519fe678ae64a60d77884ef3d71b28a

  - Installing phpspec/phpspec (2.2.0)
    Downloading: Connecting...    Failed to download phpspec/phpspec from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpspec/phpspec (2.2.0)
    Cloning 9727d75919a00455433e867565bc022f0b985a39

  - Installing phpunit/php-token-stream (1.4.1)
    Downloading: Connecting...    Failed to download phpunit/php-token-stream from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpunit/php-token-stream (1.4.1)
    Cloning eab81d02569310739373308137284e0158424330

  - Installing sebastian/version (1.0.5)
    Downloading: Connecting...    Failed to download sebastian/version from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing sebastian/version (1.0.5)
    Cloning ab931d46cd0d3204a91e1b9a40c4bc13032b58e4

  - Installing sebastian/global-state (1.0.0)
    Downloading: Connecting...    Failed to download sebastian/global-state from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing sebastian/global-state (1.0.0)
    Cloning c7428acdb62ece0a45e6306f1ae85e1c05b09c01

  - Installing sebastian/environment (1.2.2)
    Downloading: Connecting...    Failed to download sebastian/environment from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing sebastian/environment (1.2.2)
    Cloning 5a8c7d31914337b69923db26c4221b81ff5a196e

  - Installing phpunit/php-text-template (1.2.0)
    Downloading: Connecting...    Failed to download phpunit/php-text-template from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpunit/php-text-template (1.2.0)
    Cloning 206dfefc0ffe9cebf65c413e3d0e809c82fbf00a

  - Installing phpunit/phpunit-mock-objects (2.3.1)
    Downloading: Connecting...    Failed to download phpunit/phpunit-mock-objects from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpunit/phpunit-mock-objects (2.3.1)
    Cloning 74ffb87f527f24616f72460e54b595f508dccb5c

  - Installing phpunit/php-timer (1.0.5)
    Downloading: Connecting...    Failed to download phpunit/php-timer from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpunit/php-timer (1.0.5)
    Cloning 19689d4354b295ee3d8c54b4f42c3efb69cbc17c

  - Installing phpunit/php-file-iterator (1.4.0)
    Downloading: Connecting...    Failed to download phpunit/php-file-iterator from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpunit/php-file-iterator (1.4.0)
    Cloning a923bb15680d0089e2316f7a4af8f437046e96bb

  - Installing phpunit/php-code-coverage (2.0.16)
    Downloading: Connecting...    Failed to download phpunit/php-code-coverage from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpunit/php-code-coverage (2.0.16)
    Cloning 934fd03eb6840508231a7f73eb8940cf32c3b66c

  - Installing phpunit/phpunit (4.6.6)
    Downloading: Connecting...    Failed to download phpunit/phpunit from dist: Could not authenticate against github.com
    Now trying to download from source
  - Installing phpunit/phpunit (4.6.6)
    Cloning 3afe303d873a4d64c62ef84de491b97b006fbdac

  - Installing watson/sitemap (2.0.4)
    Loading from cache

Generating autoload files
PHP Fatal error:  Class 'Laracasts\Utilities\JavaScript\JavaScriptServiceProvider' not found in /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 150
PHP Stack trace:
PHP   1. {main}() /home/forge/default/artisan:0
PHP   2. Illuminate\Foundation\Console\Kernel->handle() /home/forge/default/artisan:36
PHP   3. Illuminate\Foundation\Console\Kernel->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:92
PHP   4. Illuminate\Foundation\Application->bootstrapWith() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:195
PHP   5. Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:183
PHP   6. Illuminate\Foundation\Application->registerConfiguredProviders() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:15
PHP   7. Illuminate\Foundation\ProviderRepository->load() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:468
PHP   8. Illuminate\Foundation\ProviderRepository->compileManifest() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:59
PHP   9. Illuminate\Foundation\ProviderRepository->createProvider() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:115
PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class bugsnag does not exist' in /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php:776
Stack trace:
#0 /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php(776): ReflectionClass->__construct('bugsnag')
#1 /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php(656): Illuminate\Container\Container->build('bugsnag', Array)
#2 /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(644): Illuminate\Container\Container->make('bugsnag', Array)
#3 /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php(1231): Illuminate\Foundation\Application->make('bugsnag')
#4 /home/forge/default/vendor/bugsnag/bugsnag-laravel/src/Bugsnag/BugsnagLaravel/BugsnagExceptionHandler.php(25): Illuminate\Container\Container->offsetGet('bugsnag')
#5 /home/forge/default/app/Exceptions/Handler.php(24): Bugsnag\BugsnagLaravel\BugsnagExcep in /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 776
PHP Stack trace:
PHP   1. {main}() /home/forge/default/artisan:0
PHP   2. Illuminate\Foundation\Console\Kernel->handle() /home/forge/default/artisan:36
PHP   3. Illuminate\Foundation\Console\Kernel->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:92
PHP   4. Illuminate\Foundation\Application->bootstrapWith() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:195
PHP   5. Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:183
PHP   6. Illuminate\Foundation\Application->registerConfiguredProviders() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:15
PHP   7. Illuminate\Foundation\ProviderRepository->load() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:468
PHP   8. Illuminate\Foundation\ProviderRepository->compileManifest() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:59
PHP   9. Illuminate\Foundation\ProviderRepository->createProvider() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:115
Script php artisan clear-compiled handling the post-install-cmd event returned with an error


                                                                                                                                                                                                                           
  [RuntimeException]                                                                                                                                                                                                       
  Error Output: PHP Fatal error:  Class 'Laracasts\Utilities\JavaScript\JavaScriptServiceProvider' not found in /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 150  
  PHP Stack trace:                                                                                                                                                                                                         
  PHP   1. {main}() /home/forge/default/artisan:0                                                                                                                                                                          
  PHP   2. Illuminate\Foundation\Console\Kernel->handle() /home/forge/default/artisan:36                                                                                                                                   
  PHP   3. Illuminate\Foundation\Console\Kernel->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:92                                                                  
  PHP   4. Illuminate\Foundation\Application->bootstrapWith() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:195                                                                
  PHP   5. Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:183                                                       
  PHP   6. Illuminate\Foundation\Application->registerConfiguredProviders() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:15                                      
  PHP   7. Illuminate\Foundation\ProviderRepository->load() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:468                                                                     
  PHP   8. Illuminate\Foundation\ProviderRepository->compileManifest() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:59                                                    
  PHP   9. Illuminate\Foundation\ProviderRepository->createProvider() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:115                                                    
  PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class bugsnag does not exist' in /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php:776                        
  Stack trace:                                                                                                                                                                                                             
  #0 /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php(776): ReflectionClass->__construct('bugsnag')                                                                                     
  #1 /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php(656): Illuminate\Container\Container->build('bugsnag', Array)                                                                     
  #2 /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(644): Illuminate\Container\Container->make('bugsnag', Array)                                                                   
  #3 /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php(1231): Illuminate\Foundation\Application->make('bugsnag')                                                                         
  #4 /home/forge/default/vendor/bugsnag/bugsnag-laravel/src/Bugsnag/BugsnagLaravel/BugsnagExceptionHandler.php(25): Illuminate\Container\Container->offsetGet('bugsnag')                                                   
  #5 /home/forge/default/app/Exceptions/Handler.php(24): Bugsnag\BugsnagLaravel\BugsnagExcep in /home/forge/default/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 776                            
  PHP Stack trace:                                                                                                                                                                                                         
  PHP   1. {main}() /home/forge/default/artisan:0                                                                                                                                                                          
  PHP   2. Illuminate\Foundation\Console\Kernel->handle() /home/forge/default/artisan:36                                                                                                                                   
  PHP   3. Illuminate\Foundation\Console\Kernel->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:92                                                                  
  PHP   4. Illuminate\Foundation\Application->bootstrapWith() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:195                                                                
  PHP   5. Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:183                                                       
  PHP   6. Illuminate\Foundation\Application->registerConfiguredProviders() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:15                                      
  PHP   7. Illuminate\Foundation\ProviderRepository->load() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:468                                                                     
  PHP   8. Illuminate\Foundation\ProviderRepository->compileManifest() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:59                                                    
  PHP   9. Illuminate\Foundation\ProviderRepository->createProvider() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:115                                                    
                                                                                                                                                                                                                           


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]
0 likes
6 replies
bashy's avatar
Generating autoload files PHP Fatal error: Class 'Laracasts\Utilities\JavaScript\JavaScriptServiceProvider' not found
Lebod's avatar

Yes, my developer checked that. It's actually there already.

bashy's avatar

Cool, looks like a case sensitive issue then :)

Please or to participate in this conversation.