Uncaught ErrorException: touch(): Utime failed: Invalid argument
See original GitHub issueHi. I get an error with the message below, every time I execute a code in Tinker console. It doesn’t matter what the statement is.
Uncaught ErrorException: touch(): Utime failed: Invalid argument in D:\www\mosharekat-laravel\vendor\psy\psysh\src\ConfigPaths.php:250
I’ve attached full error text as a text file for you. error.txt
Environment:
- IDE & Version: PHPStorm 2020.2.1
- PHP Version: 7.4.5
- OS: Windows 10
- Laravel Tinker plugin version : 1.2.0
- Interpreter Type: Local
- Laravel Version: 7.28.3
- Tinker version: 2.4.2
I’ve also tried reinstalling the plugin, but it didn’t help.
Issue Analytics
- State:
- Created 3 years ago
- Comments:27 (13 by maintainers)
Top Results From Across the Web
Laravel Installing Error: "touch(): Utime failed - Stack Overflow
I've tried my best to find the reason but I'm unable to detect what's wrong. As it's happening for the first time and...
Read more >Error on new Server: Warning: touch(): Utime failed
This happens when the user PHP runs as isn't the owner of the cache files. The file compiler tries to update the cache...
Read more >"Warning: touch(): Utime failed: Permission denied" on main ...
"Warning: touch(): Utime failed: Permission denied" on main page only after installing Widgets extension. Open, Needs TriagePublic.
Read more >News — JRuby.org
_strptime raises Java exception on invalid argument; #6440 - Java::JavaLang::NullPointerException () --> JRuby 9.2.13.0 on Windows 10 ...
Read more >Search - PHP :: Bugs
... 4.3.6, RFE: function to fix microsoft "smart quotes"and other wrong characters ... Method argument type-mismatch returns error with method's line-number ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@amirzpr You might confuse
nul
withnull
- sincenull
is not a windows file driver (likecon
ornul
). At first I wrote the history to ‘/dev/null’ on unix and ‘null’ in windows. Then I updated the plugin because it madenull
files in windows.Here I have a possible fix - tries to check for /dev/null, then nul, then system-tempdir/LTHisxxxx, lastly ./LTHisxxxx. On the last 2 options the file gets removed after executing.
So… The fullest range of possibilities have been combed out this time! See my PR #44 to see what I tried 😂
Laravel Tinker-2.0.0-24-attempt.zip
This one works for me - I spun up a windows VM just to check this 😂
Closing this issue after 90 days of no activity. YTou may reopen this issue if it’s still a think to be looked at!