Open Metastem opened 1 year ago
Hi @Metastem. Can you please upgrade it to latest version? vercel-php@0.5.2?
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
Hi @gamerhost31. You should use latest version vercel-php@0.5.2
.
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.
Failing source code: https://github.com/DenverCoder1/github-readme-streak-stats/tree/vercel
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
Hi @amorimleonardo, @DenverCoder1!, Navigate to your Project Settings, uncheck the following, save it and redeploy your project.
Hi @amorimleonardo, @DenverCoder1!, Navigate to your Project Settings, uncheck the following, save it and redeploy your project.
I tried to do this, but..... still not working for me.
This is my settings:
I tried change Node.js to test others configurations but nothing
Deploying through the site is working for me now after changing that setting.
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
Hi folks. I've reached Vercel's Runtime Team, to help identify the problem. Stay tuned.
To follow up, is anyone still seeing failed builds on Vercel with the error: Error: EISDIR: illegal operation on a directory, read
?
Hi folks. Are you still facing this error?
Hi folks. Are you still facing this error?
It's working again in my side, thanks anyway.
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.
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 ?
It looks like it's issue on Vercel side. I was trying Discord, but no luck. I've started a discussion https://github.com/vercel/vercel/discussions/9239. We will see.
I'm facing the same issue on my projects.
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