About Installation Question

0

Hello Mian, i just purchased this application and reading the documentation about pre installation. It stated as
"Open the folder in command line/terminal and run npm install This required nodejs to beinstalled on your server."

Do i need to do that ? Because i can access https: // yourdomain.com / install

Question Resolved For: Modern Point of Sale Solution 0 Votes 9 Answers 550 Views
Asked by Einnlleinhatt Ha 2 years ago

0

Answered by Mian Saleem

Hello,

Have you upload the file to laravelpos.com folder including vendor folder? Can you please take screenshot of all the files in the laravelpos.com

Make sure that you don't run composer install in deploy script. The vendor folder is included in your download and if you run this it will not work.

Thank you

0

Answered by Mian Saleem 2 years ago

Hello,

The npm install is only required to pdf generation for email attachments. For now you can skip it. I am chaing this to use dompdf so there won't be any need for this in next update.

Thank you

0

Answered by Einnlleinhatt Ha 2 years ago

Mian Saleem Alright, so i installed it on godaddy the other day but can i move it to new hosting ? I just remember laraverl forge exist.

On my oder page i see "Allowed: 1, Installed: 1" can you remove the installed to 0 ?

0

Answered by Mian Saleem 2 years ago

Hello,

Yes, you can transafer or install on your new server.

Thank you

0

Answered by Einnlleinhatt Ha 2 years ago

Mian Saleem I got this error

"Warning: require(/home/forge/default/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /home/forge/default/public/index.php on line 28

Fatal error: Uncaught Error: Failed opening required '/home/forge/default/public/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/default/public/index.php:28 Stack trace: #0 {main} thrown in /home/forge/default/public/index.php on line 28"

0

Answered by Einnlleinhatt Ha 2 years ago

Mian Saleem I tried a few times installing it but still got the same error, can you help me ?


Warning: require(/home/forge/laravelpos.com/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /home/forge/laravelpos.com/public/index.php on line 28

Fatal error: Uncaught Error: Failed opening required '/home/forge/laravelpos.com/public/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/laravelpos.com/public/index.php:28 Stack trace: #0 {main} thrown in /home/forge/laravelpos.com/public/index.php on line 28

Im hosting on laravel forge using digital ocean.

0

Answered by Einnlleinhatt Ha 2 years ago

Mian Saleem Yeah, i dont have the "vendor" folder in it. Also in my github repo it also doesnt has. How do i upload it ?

0

Answered by Einnlleinhatt Ha 2 years ago

Thankyou, i forgot about the .gitignore you can edit it. Im installing it right now.

0

Answered by Mian Saleem 2 years ago

Hello,

Yes, vendor folder is ignored for git. I will change it for the regular license.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.