Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Installation failed from source

Patrick Bellerive   ( User )

Commented 2 years ago

Hi,
I'm trying to install from the github source code to test the app.
I created my env and db .

1. clone
2. composer install
3. npm install
4. npm run dev
5 php artisan serve

When i go to the url :
akaunting/public/index.php): Failed to open stream: No such file or directory in projects/akaunting/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php on line 16

But the index. php is now at the root .

Any help ?

Patrick Bellerive   ( User )

Commented 2 years ago

Found, i resolded by adding un overwrite of the base path in the bootstrap of laravel.

Jacob Mathew   ( User )

Commented 2 years ago

Hi Patrick, could you please be more specific regarding the solution. I got the same error!

Cheng Thao   ( User )

Commented 2 years ago

Hi Patrick, How you solve the issue please correct me I faced the same issue.

Nnq Nnq   ( User )

Commented 1 year ago

Hi Patrick, could you please be more specific regarding the solution. I got the same error!

Nnq Nnq   ( User )

Commented 1 year ago

I soleve the error by modify require_once $publicPath.'/./index.php';

in
vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php
to
require_once $publicPath.'/../index.php';

Please login or register to leave a response.

Showing 1 to 6 of 6 discussions