Title: fs.utimes return errors on Windows · Issue #5561 · nodejs/node · GitHub
Open Graph Title: fs.utimes return errors on Windows · Issue #5561 · nodejs/node
X Title: fs.utimes return errors on Windows · Issue #5561 · nodejs/node
Description: Hi ! I'm using fs.utimes in node script on Ubuntu, all work fine. But when I'm launching this script on Windows, I get an error: { [Error: EINVAL: invalid argument, utime 'C:\Users\sit\Documents\_TRAVAUX\app\client_websocket_webdav\files...
Open Graph Description: Hi ! I'm using fs.utimes in node script on Ubuntu, all work fine. But when I'm launching this script on Windows, I get an error: { [Error: EINVAL: invalid argument, utime 'C:\Users\sit\Documents\_T...
X Description: Hi ! I'm using fs.utimes in node script on Ubuntu, all work fine. But when I'm launching this script on Windows, I get an error: { [Error: EINVAL: invalid argument, utime 'C:\Users\sit\...
Opengraph URL: https://github.com/nodejs/node/issues/5561
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fs.utimes return errors on Windows","articleBody":"Hi !\n\nI'm using fs.utimes in node script on Ubuntu, all work fine.\nBut when I'm launching this script on Windows, I get an error:\n\n```\n{ [Error: EINVAL: invalid argument, utime 'C:\\Users\\sit\\Documents\\_TRAVAUX\\app\\client_websocket_webdav\\files\\Corporate\\issue3584.pdf']\n errno: -4071,\n code: 'EINVAL',\n syscall: 'utime',\n path: 'C:\\\\Users\\\\sit\\\\Documents\\\\_TRAVAUX\\\\app\\\\client_websocket_webdav\\\\files\\\\Corporate\\\\issue3584.pdf' }\n```\n\nThe small script:\n\n```\n fs.utimes(fullPathOfFile, currentUnixTimestamp, modifiedUnixTimestamp, function(err){\n if( err ) {\n console.log(err);\n }\n });\n\n```\n\nHave you any solution ?\n- **Version**: v5.1.0\n- **Platform**: Windows 7 64 bits\n","author":{"url":"https://github.com/simon-tannai","@type":"Person","name":"simon-tannai"},"datePublished":"2016-03-04T11:28:16Z","url":"https://github.com/nodejs/node/issues/5561"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b92488fd-d718-8a96-9d9d-3ec832830b52 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A17C:E530F:7D38FA:A6490B:6AED268E |
| html-safe-nonce | 9a7c946905f8f902c3f36a33a036be66511f2744ca9516e13376ea8cb2b2cce8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTdDOkU1MzBGOjdEMzhGQTpBNjQ5MEI6NkFFRDI2OEUiLCJ2aXNpdG9yX2lkIjoiNjcyNzM2OTU4NDMzMjg0MjYzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36d5613b3159ee2f8b72299527d1e0b977bda589e90d6e2c155ec0c104e2e8d1 |
| hovercard-subject-tag | issue:138451062 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/5561/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aca8eadfb1cbb2ca813a0feddd9a2f241443f008cc6cfbc76ddc38289f5b7f37/nodejs/node/issues/5561 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aca8eadfb1cbb2ca813a0feddd9a2f241443f008cc6cfbc76ddc38289f5b7f37/nodejs/node/issues/5561 |
| og:image:alt | Hi ! I'm using fs.utimes in node script on Ubuntu, all work fine. But when I'm launching this script on Windows, I get an error: { [Error: EINVAL: invalid argument, utime 'C:\Users\sit\Documents\_T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | simon-tannai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98b41fa4b5635ceb45a4c54320fced73817ff290 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width