snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.15k stars 3.19k forks source link

Don't get APP_KEY #15047

Open nguyenducvu97 opened 4 months ago

nguyenducvu97 commented 4 months ago

Debug mode

Describe the bug

Admin@SGI-IT-VU-L MINGW64 /c/inetpub/wwwroot/snipe-it-7.0.7 $ composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 236 installs, 0 updates, 0 removals

In Filesystem.php line 260:

C:\inetpub\wwwroot\snipe-it-7.0.7/vendor does not exist and could not be cr eated:

install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...]

bug

Reproduction steps

1. 2. 3. ...

Expected behavior

composer install

Screenshots

No response

Snipe-IT Version

v7.0.7

Operating System

Windows

Web Server

iis

PHP Version

MariaDB 11.4

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

welcome[bot] commented 4 months ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

snipe commented 4 months ago

You probably need to check your permissions. The vendor directory is created by running composer.

nguyenducvu97 commented 4 months ago

image

snipe commented 4 months ago

Yeah, I saw that the first time. You probably need to check your permissions. If the web server cannot create the vendors directory, you're gonna have a bad time.