Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just not working need help #355

Open
Metastem opened this issue Dec 1, 2022 · 17 comments
Open

Just not working need help #355

Metastem opened this issue Dec 1, 2022 · 17 comments

Comments

@Metastem
Copy link

Metastem commented Dec 1, 2022

Question

Cloning completed: 646.02ms

07:32:59.866 | Running "vercel build"
07:33:00.377 | Vercel CLI 28.6.0
07:33:00.557 | > Installing Builder: vercel-php@0.3.2
07:33:05.109 | 馃悩 Downloading user files
07:33:05.109 | 馃悩 Downloading PHP runtime files
07:33:05.213 | 馃悩 Creating lambda
07:33:13.470 | Error: The Runtime "vercel-php@0.3.2" is using "nodejs12.x", which is discontinued. Please upgrade your Runtime to a more recent version or consult the author for more details.
07:33:13.471 | Learn More: https://github.com/vercel/vercel/blob/main/DEVELOPING_A_RUNTIME.md#lambdaruntime

@f3l1x
Copy link
Collaborator

f3l1x commented Dec 2, 2022

Hi @Metastem. Can you please upgrade it to latest version? vercel-php@0.5.2?

@gamerhost31
Copy link

I'm facing this issue

[18:20:17.269] Previous build cache not available
[18:20:17.945] Cloning completed: 836.701ms
[18:20:18.179] Running "vercel build"
[18:20:18.820] Vercel CLI 28.10.0
[18:20:19.014] > Installing Builder: vercel-php@0.4.0
[18:20:22.484] 馃悩 Downloading user files
[18:20:22.485] 馃悩 Downloading PHP runtime files
[18:20:22.560] 馃悩 Creating lambda
[18:20:26.082] Error: EISDIR: illegal operation on a directory, read

@f3l1x
Copy link
Collaborator

f3l1x commented Dec 26, 2022

Hi @gamerhost31. You should use latest version vercel-php@0.5.2.

@DenverCoder1
Copy link

DenverCoder1 commented Dec 26, 2022

I'm seeing this same error with 0.5.2 specifically when letting it deploy automatically from GitHub.

When deploying with vercel or vercel --prod in the command line it works perfectly fine

It also seems to be repeating Creating lambda, Downloading user files, Downloading PHP runtime files, Installing Composer dependencies several times before failing.

Build log
[12:41:50.759] Cloning github.com/DenverCoder1/github-readme-streak-stats (Branch: vercel, Commit: 558052a)
[12:41:51.391] Cloning completed: 631.763ms
[12:41:51.391] Running "[[ $VERCEL_GITHUB_COMMIT_REF == "vercel" ]] && exit 0"
[12:41:51.686] Restored build cache
[12:41:51.738] Running "vercel build"
[12:41:52.387] Vercel CLI 28.10.0
[12:41:52.613] > Installing Builder: vercel-php@0.5.2
[12:41:56.648] 馃悩 Downloading user files
[12:41:56.649] 馃悩 Downloading PHP runtime files
[12:41:56.653] 馃悩 Installing Composer dependencies [START]
[12:41:56.906] [6.0MiB/0.09s] No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
[12:41:56.907] [6.0MiB/0.09s] Loading composer repositories with package information
[12:41:57.199] [6.2MiB/0.39s] Info from https://repo.packagist.org: #StandWithUkraine
[12:41:57.923] [8.9MiB/1.11s] Updating dependencies
[12:41:57.945] [7.4MiB/1.13s] Lock file operations: 34 installs, 0 updates, 0 removals
[12:41:57.945] [7.4MiB/1.13s]   - Locking doctrine/instantiator (1.4.1)
[12:41:57.946] [7.4MiB/1.13s]   - Locking graham-campbell/result-type (v1.1.0)
[12:41:57.946] [7.4MiB/1.13s]   - Locking myclabs/deep-copy (1.11.0)
[12:41:57.946] [7.4MiB/1.13s]   - Locking nikic/php-parser (v4.15.2)
[12:41:57.946] [7.4MiB/1.13s]   - Locking phar-io/manifest (2.0.3)
[12:41:57.946] [7.4MiB/1.13s]   - Locking phar-io/version (3.2.1)
[12:41:57.947] [7.4MiB/1.13s]   - Locking phpoption/phpoption (1.9.0)
[12:41:57.947] [7.5MiB/1.13s]   - Locking phpunit/php-code-coverage (9.2.22)
[12:41:57.947] [7.5MiB/1.13s]   - Locking phpunit/php-file-iterator (3.0.6)
[12:41:57.947] [7.5MiB/1.13s]   - Locking phpunit/php-invoker (3.1.1)
[12:41:57.948] [7.5MiB/1.13s]   - Locking phpunit/php-text-template (2.0.4)
[12:41:57.948] [7.5MiB/1.13s]   - Locking phpunit/php-timer (5.0.3)
[12:41:57.948] [7.5MiB/1.13s]   - Locking phpunit/phpunit (9.5.27)
[12:41:57.948] [7.5MiB/1.13s]   - Locking sebastian/cli-parser (1.0.1)
[12:41:57.949] [7.5MiB/1.13s]   - Locking sebastian/code-unit (1.0.8)
[12:41:57.949] [7.5MiB/1.13s]   - Locking sebastian/code-unit-reverse-lookup (2.0.3)
[12:41:57.949] [7.5MiB/1.13s]   - Locking sebastian/comparator (4.0.8)
[12:41:57.950] [7.5MiB/1.13s]   - Locking sebastian/complexity (2.0.2)
[12:41:57.950] [7.5MiB/1.13s]   - Locking sebastian/diff (4.0.4)
[12:41:57.950] [7.5MiB/1.13s]   - Locking sebastian/environment (5.1.4)
[12:41:57.950] [7.5MiB/1.13s]   - Locking sebastian/exporter (4.0.5)
[12:41:57.951] [7.5MiB/1.13s]   - Locking sebastian/global-state (5.0.5)
[12:41:57.951] [7.5MiB/1.13s]   - Locking sebastian/lines-of-code (1.0.3)
[12:41:57.953] [7.5MiB/1.13s]   - Locking sebastian/object-enumerator (4.0.4)
[12:41:57.953] [7.5MiB/1.13s]   - Locking sebastian/object-reflector (2.0.4)
[12:41:57.953] [7.5MiB/1.13s]   - Locking sebastian/recursion-context (4.0.4)
[12:41:57.953] [7.5MiB/1.13s]   - Locking sebastian/resource-operations (3.0.3)
[12:41:57.954] [7.5MiB/1.13s]   - Locking sebastian/type (3.2.0)
[12:41:57.954] [7.5MiB/1.13s]   - Locking sebastian/version (3.0.2)
[12:41:57.954] [7.5MiB/1.13s]   - Locking symfony/polyfill-ctype (v1.27.0)
[12:41:57.955] [7.5MiB/1.13s]   - Locking symfony/polyfill-mbstring (v1.27.0)
[12:41:57.955] [7.5MiB/1.13s]   - Locking symfony/polyfill-php80 (v1.27.0)
[12:41:57.955] [7.5MiB/1.13s]   - Locking theseer/tokenizer (1.2.1)
[12:41:57.955] [7.5MiB/1.13s]   - Locking vlucas/phpdotenv (v5.5.0)
[12:41:57.956] [7.5MiB/1.13s] Writing lock file
[12:41:57.956] [7.5MiB/1.13s] Installing dependencies from lock file
[12:41:57.957] [7.8MiB/1.14s] Package operations: 6 installs, 0 updates, 0 removals
[12:41:57.957] [7.8MiB/1.14s]   - Downloading symfony/polyfill-php80 (v1.27.0)
[12:41:57.957] [7.9MiB/1.14s]   - Downloading symfony/polyfill-mbstring (v1.27.0)
[12:41:57.957] [7.9MiB/1.14s]   - Downloading symfony/polyfill-ctype (v1.27.0)
[12:41:57.957] [7.9MiB/1.14s]   - Downloading phpoption/phpoption (1.9.0)
[12:41:57.958] [8.0MiB/1.14s]   - Downloading graham-campbell/result-type (v1.1.0)
[12:41:57.958] [8.0MiB/1.14s]   - Downloading vlucas/phpdotenv (v5.5.0)
[12:41:58.291] [7.9MiB/1.48s]   - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
[12:41:58.303] [8.0MiB/1.49s]   - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
[12:41:58.305] [8.1MiB/1.49s]   - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
[12:41:58.307] [8.1MiB/1.49s]   - Installing phpoption/phpoption (1.9.0): Extracting archive
[12:41:58.309] [8.2MiB/1.50s]   - Installing graham-campbell/result-type (v1.1.0): Extracting archive
[12:41:58.312] [8.2MiB/1.50s]   - Installing vlucas/phpdotenv (v5.5.0): Extracting archive
[12:41:58.717] [7.7MiB/1.90s] 5 package suggestions were added by new dependencies, use `composer suggest` to see details.
[12:41:58.718] [7.8MiB/1.90s] Generating autoload files
[12:41:58.733] [7.9MiB/1.92s] 6 packages you are using are looking for funding.
[12:41:58.733] [7.9MiB/1.92s] Use the `composer fund` command to find out more!
[12:41:58.734] [7.9MiB/1.92s] Memory usage: 7.86MiB (peak: 11.49MiB), time: 1.92s
[12:41:58.755] 馃悩 Installing Composer dependencies [DONE]
[12:41:58.837] 馃悩 Creating lambda
[12:41:58.841] 馃悩 Downloading user files
[12:41:58.842] 馃悩 Downloading PHP runtime files
[12:41:58.852] 馃悩 Installing Composer dependencies [START]
[12:41:58.995] [3.1MiB/0.02s] Installing dependencies from lock file
[12:41:58.995] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:41:59.002] [3.6MiB/0.03s] Nothing to install, update or remove
[12:41:59.005] [3.5MiB/0.03s] Generating autoload files
[12:41:59.016] [3.6MiB/0.04s] 6 packages you are using are looking for funding.
[12:41:59.017] [3.6MiB/0.04s] Use the `composer fund` command to find out more!
[12:41:59.017] [3.6MiB/0.04s] Memory usage: 3.58MiB (peak: 3.84MiB), time: 0.04s
[12:41:59.038] 馃悩 Installing Composer dependencies [DONE]
[12:41:59.174] 馃悩 Creating lambda
[12:41:59.176] 馃悩 Downloading user files
[12:41:59.177] 馃悩 Downloading PHP runtime files
[12:41:59.254] 馃悩 Installing Composer dependencies [START]
[12:41:59.404] [3.1MiB/0.03s] Installing dependencies from lock file
[12:41:59.405] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:41:59.426] [3.6MiB/0.04s] Nothing to install, update or remove
[12:41:59.436] [3.5MiB/0.06s] Generating autoload files
[12:41:59.469] [3.6MiB/0.08s] 6 packages you are using are looking for funding.
[12:41:59.470] [3.6MiB/0.08s] Use the `composer fund` command to find out more!
[12:41:59.470] [3.6MiB/0.08s] Memory usage: 3.58MiB (peak: 3.84MiB), time: 0.08s
[12:41:59.483] 馃悩 Installing Composer dependencies [DONE]
[12:41:59.612] 馃悩 Creating lambda
[12:41:59.617] 馃悩 Downloading user files
[12:41:59.618] 馃悩 Downloading PHP runtime files
[12:41:59.669] 馃悩 Installing Composer dependencies [START]
[12:41:59.811] [3.1MiB/0.02s] Installing dependencies from lock file
[12:41:59.813] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:41:59.827] [3.6MiB/0.04s] Nothing to install, update or remove
[12:41:59.831] [3.5MiB/0.04s] Generating autoload files
[12:41:59.846] [3.6MiB/0.06s] 6 packages you are using are looking for funding.
[12:41:59.846] [3.6MiB/0.06s] Use the `composer fund` command to find out more!
[12:41:59.846] [3.6MiB/0.06s] Memory usage: 3.58MiB (peak: 3.84MiB), time: 0.06s
[12:41:59.863] 馃悩 Installing Composer dependencies [DONE]
[12:41:59.991] 馃悩 Creating lambda
[12:41:59.993] 馃悩 Downloading user files
[12:41:59.993] 馃悩 Downloading PHP runtime files
[12:42:00.033] 馃悩 Installing Composer dependencies [START]
[12:42:00.178] [3.1MiB/0.03s] Installing dependencies from lock file
[12:42:00.179] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:42:00.189] [3.6MiB/0.04s] Nothing to install, update or remove
[12:42:00.193] [3.5MiB/0.04s] Generating autoload files
[12:42:00.210] [3.6MiB/0.06s] 6 packages you are using are looking for funding.
[12:42:00.211] [3.6MiB/0.06s] Use the `composer fund` command to find out more!
[12:42:00.211] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s
[12:42:00.223] 馃悩 Installing Composer dependencies [DONE]
[12:42:00.324] 馃悩 Creating lambda
[12:42:00.326] 馃悩 Downloading user files
[12:42:00.326] 馃悩 Downloading PHP runtime files
[12:42:00.373] 馃悩 Installing Composer dependencies [START]
[12:42:00.534] [3.1MiB/0.03s] Installing dependencies from lock file
[12:42:00.534] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:42:00.544] [3.6MiB/0.04s] Nothing to install, update or remove
[12:42:00.547] [3.5MiB/0.04s] Generating autoload files
[12:42:00.567] [3.6MiB/0.06s] 6 packages you are using are looking for funding.
[12:42:00.568] [3.6MiB/0.06s] Use the `composer fund` command to find out more!
[12:42:00.568] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s
[12:42:00.582] 馃悩 Installing Composer dependencies [DONE]
[12:42:00.681] 馃悩 Creating lambda
[12:42:00.683] 馃悩 Downloading user files
[12:42:00.684] 馃悩 Downloading PHP runtime files
[12:42:00.732] 馃悩 Installing Composer dependencies [START]
[12:42:00.882] [3.1MiB/0.03s] Installing dependencies from lock file
[12:42:00.883] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:42:00.893] [3.6MiB/0.04s] Nothing to install, update or remove
[12:42:00.897] [3.5MiB/0.04s] Generating autoload files
[12:42:00.916] [3.6MiB/0.06s] 6 packages you are using are looking for funding.
[12:42:00.916] [3.6MiB/0.06s] Use the `composer fund` command to find out more!
[12:42:00.917] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s
[12:42:00.936] 馃悩 Installing Composer dependencies [DONE]
[12:42:01.034] 馃悩 Creating lambda
[12:42:01.036] 馃悩 Downloading user files
[12:42:01.036] 馃悩 Downloading PHP runtime files
[12:42:01.078] 馃悩 Installing Composer dependencies [START]
[12:42:01.206] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:01.207] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:01.214] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:01.224] [3.5MiB/0.03s] Generating autoload files
[12:42:01.238] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:01.238] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:01.238] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:01.254] 馃悩 Installing Composer dependencies [DONE]
[12:42:01.349] 馃悩 Creating lambda
[12:42:01.351] 馃悩 Downloading user files
[12:42:01.351] 馃悩 Downloading PHP runtime files
[12:42:01.392] 馃悩 Installing Composer dependencies [START]
[12:42:01.543] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:01.543] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:01.552] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:01.555] [3.5MiB/0.04s] Generating autoload files
[12:42:01.570] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:01.570] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:01.571] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:01.586] 馃悩 Installing Composer dependencies [DONE]
[12:42:01.690] 馃悩 Creating lambda
[12:42:01.692] 馃悩 Downloading user files
[12:42:01.692] 馃悩 Downloading PHP runtime files
[12:42:01.730] 馃悩 Installing Composer dependencies [START]
[12:42:01.903] [3.1MiB/0.03s] Installing dependencies from lock file
[12:42:01.904] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:42:01.916] [3.6MiB/0.04s] Nothing to install, update or remove
[12:42:01.917] [3.5MiB/0.04s] Generating autoload files
[12:42:01.933] [3.6MiB/0.06s] 6 packages you are using are looking for funding.
[12:42:01.934] [3.6MiB/0.06s] Use the `composer fund` command to find out more!
[12:42:01.934] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s
[12:42:01.953] 馃悩 Installing Composer dependencies [DONE]
[12:42:02.065] 馃悩 Creating lambda
[12:42:02.067] 馃悩 Downloading user files
[12:42:02.067] 馃悩 Downloading PHP runtime files
[12:42:02.108] 馃悩 Installing Composer dependencies [START]
[12:42:02.253] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:02.254] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:02.263] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:02.266] [3.5MiB/0.04s] Generating autoload files
[12:42:02.282] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:02.282] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:02.282] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:02.298] 馃悩 Installing Composer dependencies [DONE]
[12:42:02.404] 馃悩 Creating lambda
[12:42:02.406] 馃悩 Downloading user files
[12:42:02.406] 馃悩 Downloading PHP runtime files
[12:42:02.452] 馃悩 Installing Composer dependencies [START]
[12:42:02.601] [3.1MiB/0.03s] Installing dependencies from lock file
[12:42:02.602] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:42:02.610] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:02.613] [3.5MiB/0.04s] Generating autoload files
[12:42:02.625] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:02.625] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:02.625] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:02.640] 馃悩 Installing Composer dependencies [DONE]
[12:42:02.752] 馃悩 Creating lambda
[12:42:02.754] 馃悩 Downloading user files
[12:42:02.755] 馃悩 Downloading PHP runtime files
[12:42:02.791] 馃悩 Installing Composer dependencies [START]
[12:42:02.943] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:02.943] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:02.953] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:02.956] [3.5MiB/0.04s] Generating autoload files
[12:42:02.972] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:02.973] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:02.973] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:02.988] 馃悩 Installing Composer dependencies [DONE]
[12:42:03.096] 馃悩 Creating lambda
[12:42:03.098] 馃悩 Downloading user files
[12:42:03.098] 馃悩 Downloading PHP runtime files
[12:42:03.136] 馃悩 Installing Composer dependencies [START]
[12:42:03.268] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:03.269] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:03.279] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:03.282] [3.5MiB/0.04s] Generating autoload files
[12:42:03.298] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:03.298] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:03.298] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:03.321] 馃悩 Installing Composer dependencies [DONE]
[12:42:03.434] 馃悩 Creating lambda
[12:42:03.436] 馃悩 Downloading user files
[12:42:03.436] 馃悩 Downloading PHP runtime files
[12:42:03.478] 馃悩 Installing Composer dependencies [START]
[12:42:03.618] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:03.618] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:03.629] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:03.632] [3.5MiB/0.04s] Generating autoload files
[12:42:03.652] [3.6MiB/0.06s] 6 packages you are using are looking for funding.
[12:42:03.652] [3.6MiB/0.06s] Use the `composer fund` command to find out more!
[12:42:03.652] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s
[12:42:03.672] 馃悩 Installing Composer dependencies [DONE]
[12:42:03.806] 馃悩 Creating lambda
[12:42:03.807] 馃悩 Downloading user files
[12:42:03.807] 馃悩 Downloading PHP runtime files
[12:42:03.848] 馃悩 Installing Composer dependencies [START]
[12:42:03.991] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:03.992] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:04.000] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:04.003] [3.5MiB/0.04s] Generating autoload files
[12:42:04.023] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:04.023] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:04.024] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:04.045] 馃悩 Installing Composer dependencies [DONE]
[12:42:04.179] 馃悩 Creating lambda
[12:42:04.181] 馃悩 Downloading user files
[12:42:04.181] 馃悩 Downloading PHP runtime files
[12:42:04.218] 馃悩 Installing Composer dependencies [START]
[12:42:04.371] [3.1MiB/0.02s] Installing dependencies from lock file
[12:42:04.372] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.
[12:42:04.380] [3.6MiB/0.03s] Nothing to install, update or remove
[12:42:04.383] [3.5MiB/0.03s] Generating autoload files
[12:42:04.395] [3.6MiB/0.05s] 6 packages you are using are looking for funding.
[12:42:04.396] [3.6MiB/0.05s] Use the `composer fund` command to find out more!
[12:42:04.396] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s
[12:42:04.416] 馃悩 Installing Composer dependencies [DONE]
[12:42:04.549] 馃悩 Creating lambda
[12:42:04.551] 馃悩 Downloading user files
[12:42:04.551] 馃悩 Downloading PHP runtime files
[12:42:04.594] 馃悩 Installing Composer dependencies [START]
[12:42:04.738] [3.1MiB/0.03s] Installing dependencies from lock file
[12:42:04.738] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.
[12:42:04.749] [3.6MiB/0.04s] Nothing to install, update or remove
[12:42:04.751] [3.5MiB/0.04s] Generating autoload files
[12:42:04.768] [3.6MiB/0.06s] 6 packages you are using are looking for funding.
[12:42:04.769] [3.6MiB/0.06s] Use the `composer fund` command to find out more!
[12:42:04.769] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s
[12:42:04.788] 馃悩 Installing Composer dependencies [DONE]
[12:42:04.925] 馃悩 Creating lambda
[12:42:05.538] Error: EISDIR: illegal operation on a directory, read

Failing source code: https://github.com/DenverCoder1/github-readme-streak-stats/tree/vercel

@amorimleonardo
Copy link

Hi @gamerhost31. You should use latest version vercel-php@0.5.2.

Hi guys!

I'm seeing this same error when deploying with vercel

This is my vercel.json

{
  "functions": {
    "api/*.php": {
      "runtime": "vercel-php@0.5.2"
    }
  },
  "routes": [
    { "src": "/(.*)",  "dest": "/api/index.php" }
  ]
}

and this is the log

[18:30:47.494] Retrieving list of deployment files...
[18:30:48.035] Previous build caches not available
[18:30:48.149] Downloading 414 deployment files...
[18:30:50.761] Running "vercel build"
[18:30:51.259] Vercel CLI 28.10.0
[18:30:51.435] > Installing Builder: vercel-php@0.5.2
[18:30:55.083] 馃悩 Downloading user files
[18:30:55.083] 馃悩 Downloading PHP runtime files
[18:30:55.086] 馃悩 Installing Composer dependencies [START]
[18:30:55.370] [7.1MiB/0.11s] Installing dependencies from lock file
[18:30:55.373] [7.4MiB/0.11s] Verifying lock file contents can be installed on current platform.
[18:30:55.400] [8.5MiB/0.14s] Package operations: 72 installs, 0 updates, 0 removals
[18:30:55.401] [8.5MiB/0.14s]   - Downloading doctrine/inflector (2.0.4)
[18:30:55.403] [8.6MiB/0.14s]   - Downloading symfony/polyfill-php72 (v1.23.0)
[18:30:55.403] [8.6MiB/0.14s]   - Downloading symfony/polyfill-intl-normalizer (v1.23.0)
[18:30:55.403] [8.6MiB/0.14s]   - Downloading symfony/polyfill-intl-idn (v1.23.0)
[18:30:55.403] [8.7MiB/0.14s]   - Downloading doctrine/lexer (1.2.1)
[18:30:55.404] [8.7MiB/0.14s]   - Downloading egulias/email-validator (2.1.25)
[18:30:55.406] [8.8MiB/0.14s]   - Downloading symfony/polyfill-php80 (v1.23.1)
[18:30:55.406] [8.8MiB/0.14s]   - Downloading symfony/polyfill-mbstring (v1.23.1)
[18:30:55.406] [8.8MiB/0.14s]   - Downloading symfony/deprecation-contracts (v3.0.0)
[18:30:55.406] [8.9MiB/0.14s]   - Downloading symfony/http-foundation (v5.4.1)
[18:30:55.406] [8.9MiB/0.15s]   - Downloading symfony/finder (v5.4.0)
[18:30:55.407] [9.0MiB/0.15s]   - Downloading voku/portable-ascii (1.5.6)
[18:30:55.407] [9.0MiB/0.15s]   - Downloading symfony/translation-contracts (v3.0.0)
[18:30:55.407] [9.0MiB/0.15s]   - Downloading symfony/translation (v6.0.1)
[18:30:55.407] [9.1MiB/0.15s]   - Downloading nesbot/carbon (2.55.2)
[18:30:55.407] [9.1MiB/0.15s]   - Downloading illuminate/macroable (v8.76.1)
[18:30:55.407] [9.1MiB/0.15s]   - Downloading psr/simple-cache (1.0.1)
[18:30:55.408] [9.2MiB/0.15s]   - Downloading psr/container (1.1.2)
[18:30:55.408] [9.2MiB/0.15s]   - Downloading illuminate/contracts (v8.76.1)
[18:30:55.408] [9.2MiB/0.15s]   - Downloading illuminate/collections (v8.76.1)
[18:30:55.408] [9.3MiB/0.15s]   - Downloading illuminate/support (v8.76.1)
[18:30:55.408] [9.3MiB/0.15s]   - Downloading illuminate/filesystem (v8.76.1)
[18:30:55.408] [9.3MiB/0.15s]   - Downloading illuminate/session (v8.76.1)
[18:30:55.409] [9.4MiB/0.15s]   - Downloading symfony/polyfill-ctype (v1.23.0)
[18:30:55.409] [9.4MiB/0.15s]   - Downloading phpoption/phpoption (1.8.1)
[18:30:55.409] [9.4MiB/0.15s]   - Downloading graham-campbell/result-type (v1.0.4)
[18:30:55.409] [9.5MiB/0.15s]   - Downloading vlucas/phpdotenv (v5.4.1)
[18:30:55.410] [9.5MiB/0.15s]   - Downloading symfony/var-dumper (v5.4.1)
[18:30:55.410] [9.5MiB/0.15s]   - Downloading symfony/mime (v5.4.0)
[18:30:55.410] [9.6MiB/0.15s]   - Downloading symfony/polyfill-php73 (v1.23.0)
[18:30:55.410] [9.6MiB/0.15s]   - Downloading psr/event-dispatcher (1.0.0)
[18:30:55.410] [9.6MiB/0.15s]   - Downloading symfony/event-dispatcher-contracts (v3.0.0)
[18:30:55.410] [9.7MiB/0.15s]   - Downloading symfony/event-dispatcher (v6.0.1)
[18:30:55.411] [9.7MiB/0.15s]   - Downloading psr/log (1.1.4)
[18:30:55.411] [9.7MiB/0.15s]   - Downloading symfony/error-handler (v5.4.1)
[18:30:55.411] [9.8MiB/0.15s]   - Downloading symfony/http-kernel (v5.4.1)
[18:30:55.411] [9.8MiB/0.15s]   - Downloading symfony/polyfill-intl-grapheme (v1.23.1)
[18:30:55.411] [9.8MiB/0.15s]   - Downloading symfony/string (v6.0.1)
[18:30:55.412] [9.9MiB/0.15s]   - Downloading symfony/service-contracts (v2.4.1)
[18:30:55.412] [9.9MiB/0.15s]   - Downloading symfony/console (v5.4.1)
[18:30:55.412] [9.9MiB/0.15s]   - Downloading nikic/fast-route (v1.3.0)
[18:30:55.413] [10.0MiB/0.15s]   - Downloading illuminate/container (v8.76.1)
[18:30:55.413] [10.0MiB/0.15s]   - Downloading illuminate/pipeline (v8.76.1)
[18:30:55.413] [10.0MiB/0.15s]   - Downloading illuminate/bus (v8.76.1)
[18:30:55.413] [10.1MiB/0.15s]   - Downloading illuminate/events (v8.76.1)
[18:30:55.413] [10.1MiB/0.15s]   - Downloading illuminate/view (v8.76.1)
[18:30:55.414] [10.1MiB/0.15s]   - Downloading illuminate/translation (v8.76.1)
[18:30:55.414] [10.2MiB/0.15s]   - Downloading illuminate/validation (v8.76.1)
[18:30:55.414] [10.2MiB/0.15s]   - Downloading illuminate/testing (v8.76.1)
[18:30:55.414] [10.2MiB/0.15s]   - Downloading symfony/process (v5.4.0)
[18:30:55.414] [10.3MiB/0.15s]   - Downloading symfony/polyfill-php81 (v1.23.0)
[18:30:55.415] [10.3MiB/0.15s]   - Downloading ramsey/collection (1.2.2)
[18:30:55.415] [10.3MiB/0.15s]   - Downloading brick/math (0.9.3)
[18:30:55.415] [10.4MiB/0.15s]   - Downloading ramsey/uuid (4.2.3)
[18:30:55.415] [10.4MiB/0.15s]   - Downloading opis/closure (3.6.2)
[18:30:55.415] [10.5MiB/0.15s]   - Downloading laravel/serializable-closure (v1.0.5)
[18:30:55.416] [10.5MiB/0.15s]   - Downloading illuminate/database (v8.76.1)
[18:30:55.416] [10.5MiB/0.16s]   - Downloading illuminate/console (v8.76.1)
[18:30:55.416] [10.6MiB/0.16s]   - Downloading illuminate/queue (v8.76.1)
[18:30:55.416] [10.6MiB/0.16s]   - Downloading illuminate/pagination (v8.76.1)
[18:30:55.416] [10.6MiB/0.16s]   - Downloading monolog/monolog (2.3.5)
[18:30:55.416] [10.7MiB/0.16s]   - Downloading illuminate/log (v8.76.1)
[18:30:55.417] [10.7MiB/0.16s]   - Downloading illuminate/http (v8.76.1)
[18:30:55.417] [10.7MiB/0.16s]   - Downloading illuminate/hashing (v8.76.1)
[18:30:55.417] [10.8MiB/0.16s]   - Downloading illuminate/encryption (v8.76.1)
[18:30:55.417] [10.8MiB/0.16s]   - Downloading illuminate/config (v8.76.1)
[18:30:55.417] [10.8MiB/0.16s]   - Downloading illuminate/cache (v8.76.1)
[18:30:55.418] [10.9MiB/0.16s]   - Downloading illuminate/broadcasting (v8.76.1)
[18:30:55.418] [10.9MiB/0.16s]   - Downloading illuminate/auth (v8.76.1)
[18:30:55.418] [10.9MiB/0.16s]   - Downloading webmozart/assert (1.10.0)
[18:30:55.418] [11.0MiB/0.16s]   - Downloading dragonmantank/cron-expression (v3.1.0)
[18:30:55.418] [11.0MiB/0.16s]   - Downloading laravel/lumen-framework (v8.3.3)
[18:30:56.282] [9.2MiB/1.02s]   - Installing doctrine/inflector (2.0.4): Extracting archive
[18:30:56.287] [9.2MiB/1.03s]   - Installing symfony/polyfill-php72 (v1.23.0): Extracting archive
[18:30:56.289] [9.3MiB/1.03s]   - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
[18:30:56.291] [9.3MiB/1.03s]   - Installing symfony/polyfill-intl-idn (v1.23.0): Extracting archive
[18:30:56.292] [9.4MiB/1.03s]   - Installing doctrine/lexer (1.2.1): Extracting archive
[18:30:56.294] [9.4MiB/1.03s]   - Installing egulias/email-validator (2.1.25): Extracting archive
[18:30:56.296] [9.5MiB/1.04s]   - Installing symfony/polyfill-php80 (v1.23.1): Extracting archive
[18:30:56.302] [9.5MiB/1.04s]   - Installing symfony/polyfill-mbstring (v1.23.1): Extracting archive
[18:30:56.303] [9.6MiB/1.04s]   - Installing symfony/deprecation-contracts (v3.0.0): Extracting archive
[18:30:56.303] [9.6MiB/1.04s]   - Installing symfony/http-foundation (v5.4.1): Extracting archive
[18:30:56.309] [9.7MiB/1.05s]   - Installing symfony/finder (v5.4.0): Extracting archive
[18:30:56.309] [9.7MiB/1.05s]   - Installing voku/portable-ascii (1.5.6): Extracting archive
[18:30:56.310] [9.8MiB/1.05s]   - Installing symfony/translation-contracts (v3.0.0): Extracting archive
[18:30:56.310] [9.8MiB/1.05s]   - Installing symfony/translation (v6.0.1): Extracting archive
[18:30:56.311] [9.9MiB/1.05s]   - Installing nesbot/carbon (2.55.2): Extracting archive
[18:30:56.311] [9.9MiB/1.05s]   - Installing illuminate/macroable (v8.76.1): Extracting archive
[18:30:56.315] [9.9MiB/1.05s]   - Installing psr/simple-cache (1.0.1): Extracting archive
[18:30:56.315] [10.0MiB/1.05s]   - Installing psr/container (1.1.2): Extracting archive
[18:30:56.316] [10.0MiB/1.05s]   - Installing illuminate/contracts (v8.76.1): Extracting archive
[18:30:56.316] [10.1MiB/1.05s]   - Installing illuminate/collections (v8.76.1): Extracting archive
[18:30:56.316] [10.1MiB/1.05s]   - Installing illuminate/support (v8.76.1): Extracting archive
[18:30:56.316] [10.1MiB/1.05s]   - Installing illuminate/filesystem (v8.76.1): Extracting archive
[18:30:56.316] [10.2MiB/1.05s]   - Installing illuminate/session (v8.76.1): Extracting archive
[18:30:56.317] [10.2MiB/1.05s]   - Installing symfony/polyfill-ctype (v1.23.0): Extracting archive
[18:30:56.317] [10.3MiB/1.05s]   - Installing phpoption/phpoption (1.8.1): Extracting archive
[18:30:56.318] [10.3MiB/1.05s]   - Installing graham-campbell/result-type (v1.0.4): Extracting archive
[18:30:56.318] [10.4MiB/1.05s]   - Installing vlucas/phpdotenv (v5.4.1): Extracting archive
[18:30:56.318] [10.4MiB/1.05s]   - Installing symfony/var-dumper (v5.4.1): Extracting archive
[18:30:56.318] [10.4MiB/1.05s]   - Installing symfony/mime (v5.4.0): Extracting archive
[18:30:56.318] [10.5MiB/1.05s]   - Installing symfony/polyfill-php73 (v1.23.0): Extracting archive
[18:30:56.318] [10.5MiB/1.06s]   - Installing psr/event-dispatcher (1.0.0): Extracting archive
[18:30:56.321] [10.6MiB/1.06s]   - Installing symfony/event-dispatcher-contracts (v3.0.0): Extracting archive
[18:30:56.322] [10.6MiB/1.06s]   - Installing symfony/event-dispatcher (v6.0.1): Extracting archive
[18:30:56.322] [10.6MiB/1.06s]   - Installing psr/log (1.1.4): Extracting archive
[18:30:56.322] [10.7MiB/1.06s]   - Installing symfony/error-handler (v5.4.1): Extracting archive
[18:30:56.322] [10.7MiB/1.06s]   - Installing symfony/http-kernel (v5.4.1): Extracting archive
[18:30:56.322] [10.8MiB/1.06s]   - Installing symfony/polyfill-intl-grapheme (v1.23.1): Extracting archive
[18:30:56.322] [10.8MiB/1.06s]   - Installing symfony/string (v6.0.1): Extracting archive
[18:30:56.323] [10.9MiB/1.06s]   - Installing symfony/service-contracts (v2.4.1): Extracting archive
[18:30:56.323] [10.9MiB/1.06s]   - Installing symfony/console (v5.4.1): Extracting archive
[18:30:56.323] [10.9MiB/1.06s]   - Installing nikic/fast-route (v1.3.0): Extracting archive
[18:30:56.323] [11.0MiB/1.06s]   - Installing illuminate/container (v8.76.1): Extracting archive
[18:30:56.323] [11.0MiB/1.06s]   - Installing illuminate/pipeline (v8.76.1): Extracting archive
[18:30:56.323] [11.1MiB/1.06s]   - Installing illuminate/bus (v8.76.1): Extracting archive
[18:30:56.323] [11.1MiB/1.06s]   - Installing illuminate/events (v8.76.1): Extracting archive
[18:30:56.324] [11.1MiB/1.06s]   - Installing illuminate/view (v8.76.1): Extracting archive
[18:30:56.324] [11.2MiB/1.06s]   - Installing illuminate/translation (v8.76.1): Extracting archive
[18:30:56.324] [11.2MiB/1.06s]   - Installing illuminate/validation (v8.76.1): Extracting archive
[18:30:56.324] [11.3MiB/1.06s]   - Installing illuminate/testing (v8.76.1): Extracting archive
[18:30:56.324] [11.3MiB/1.06s]   - Installing symfony/process (v5.4.0): Extracting archive
[18:30:56.324] [11.3MiB/1.06s]   - Installing symfony/polyfill-php81 (v1.23.0): Extracting archive
[18:30:56.324] [11.4MiB/1.06s]   - Installing ramsey/collection (1.2.2): Extracting archive
[18:30:56.324] [11.4MiB/1.06s]   - Installing brick/math (0.9.3): Extracting archive
[18:30:56.325] [11.5MiB/1.06s]   - Installing ramsey/uuid (4.2.3): Extracting archive
[18:30:56.325] [11.5MiB/1.06s]   - Installing opis/closure (3.6.2): Extracting archive
[18:30:56.325] [11.6MiB/1.06s]   - Installing laravel/serializable-closure (v1.0.5): Extracting archive
[18:30:56.325] [11.6MiB/1.06s]   - Installing illuminate/database (v8.76.1): Extracting archive
[18:30:56.326] [11.6MiB/1.06s]   - Installing illuminate/console (v8.76.1): Extracting archive
[18:30:56.326] [11.7MiB/1.06s]   - Installing illuminate/queue (v8.76.1): Extracting archive
[18:30:56.326] [11.7MiB/1.06s]   - Installing illuminate/pagination (v8.76.1): Extracting archive
[18:30:56.326] [11.8MiB/1.06s]   - Installing monolog/monolog (2.3.5): Extracting archive
[18:30:56.326] [11.8MiB/1.06s]   - Installing illuminate/log (v8.76.1): Extracting archive
[18:30:56.326] [11.8MiB/1.06s]   - Installing illuminate/http (v8.76.1): Extracting archive
[18:30:56.326] [11.9MiB/1.06s]   - Installing illuminate/hashing (v8.76.1): Extracting archive
[18:30:56.326] [11.9MiB/1.06s]   - Installing illuminate/encryption (v8.76.1): Extracting archive
[18:30:56.326] [12.0MiB/1.06s]   - Installing illuminate/config (v8.76.1): Extracting archive
[18:30:56.327] [12.0MiB/1.07s]   - Installing illuminate/cache (v8.76.1): Extracting archive
[18:30:56.327] [12.1MiB/1.07s]   - Installing illuminate/broadcasting (v8.76.1): Extracting archive
[18:30:56.327] [12.1MiB/1.07s]   - Installing illuminate/auth (v8.76.1): Extracting archive
[18:30:56.327] [12.2MiB/1.07s]   - Installing webmozart/assert (1.10.0): Extracting archive
[18:30:56.327] [12.2MiB/1.07s]   - Installing dragonmantank/cron-expression (v3.1.0): Extracting archive
[18:30:56.328] [12.2MiB/1.07s]   - Installing laravel/lumen-framework (v8.3.3): Extracting archive
[18:30:57.030] [9.2MiB/1.77s] Generating optimized autoload files
[18:30:57.562] [9.3MiB/2.30s] 37 packages you are using are looking for funding.
[18:30:57.563] [9.3MiB/2.30s] Use the `composer fund` command to find out more!
[18:30:57.563] [9.3MiB/2.30s] Memory usage: 9.26MiB (peak: 13.03MiB), time: 2.3s
[18:30:57.593] 馃悩 Installing Composer dependencies [DONE]
[18:31:02.668] 馃悩 Creating lambda
[18:31:04.471] Error: EISDIR: illegal operation on a directory, read

@gamerhost31
Copy link

Hi @amorimleonardo, @DenverCoder1!, Navigate to your Project Settings, uncheck the following, save it and redeploy your project.
Screenshot

@amorimleonardo
Copy link

Hi @amorimleonardo, @DenverCoder1!, Navigate to your Project Settings, uncheck the following, save it and redeploy your project. Screenshot

I tried to do this, but..... still not working for me.

This is my settings:
Screen Shot 2022-12-26 at 7 54 25 PM

I tried change Node.js to test others configurations but nothing

@DenverCoder1
Copy link

Deploying through the site is working for me now after changing that setting.

@sandipghodasara
Copy link

I am also facing the exact same issue as @amorimleonardo . I have unchecked the box as well using the latest version of Node.js as 18.x but while creating build from auto deploy from github it is giving the error of

Error: EISDIR: illegal operation on a directory, read

@f3l1x
Copy link
Collaborator

f3l1x commented Dec 30, 2022

Hi folks. I've reached Vercel's Runtime Team, to help identify the problem. Stay tuned.

@Cl3arglass
Copy link

To follow up, is anyone still seeing failed builds on Vercel with the error: Error: EISDIR: illegal operation on a directory, read ?

@f3l1x
Copy link
Collaborator

f3l1x commented Jan 11, 2023

Hi folks. Are you still facing this error?

@zhanang19
Copy link

Hi folks. Are you still facing this error?

It's working again in my side, thanks anyway.

@hatsuyuki2333
Copy link

I have the same problem.here is my build log

[17:39:48.711] Cloning github.com/hatsuyuki2333/phimg (Branch: main, Commit: 2bf8ba9)
[17:39:49.024] Previous build cache not available
[17:39:56.013] Cloning completed: 7.301s
[17:39:56.206] Running "vercel build"
[17:39:56.833] Vercel CLI 28.11.1
[17:39:57.066] > Installing Builder: vercel-php@0.5.2
[17:40:02.141] 馃悩 Downloading user files
[17:40:02.141] 馃悩 Downloading PHP runtime files
[17:40:02.237] 馃悩 Creating lambda
[17:40:03.142] Error: EISDIR: illegal operation on a directory, read

I've tried all solutions,but none of them works.

@thedeadofblackfire
Copy link

Hello there,

Yep still the same issue today & yesterday with 0.5.2 (no include source & nodejs 16) : "Error: EISDIR: illegal operation on a directory, read"

Is the issue on Vercel side ?

@f3l1x
Copy link
Collaborator

f3l1x commented Jan 16, 2023

It looks like it's issue on Vercel side. I was trying Discord, but no luck. I've started a discussion vercel/vercel#9239. We will see.

@tao
Copy link

tao commented Jan 16, 2023

I'm facing the same issue on my projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants