EH
Asked
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
"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
- MSAnsweredHello,
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 - EHAnswered**[Mian Saleem](/u/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 ? - MSAnsweredHello,
Yes, you can transafer or install on your new server.
Thank you - EHAnswered**[Mian Saleem](/u/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" - EHAnswered**[Mian Saleem](/u/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. - MSAnsweredHello,
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 - EHAnswered**[Mian Saleem](/u/saleem)** Yeah, i dont have the "vendor" folder in it. Also in my github repo it also doesnt has. How do i upload it ?
- EHAnsweredThankyou, i forgot about the .gitignore you can edit it. Im installing it right now.
- MSAnsweredHello,
Yes, `vendor` folder is ignored for git. I will change it for the regular license.
Thank you - Login to Reply