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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not find the "utimes.node" file #12

Closed
baileyherbert opened this issue Sep 8, 2021 · 0 comments
Closed

Error: Could not find the "utimes.node" file #12

baileyherbert opened this issue Sep 8, 2021 · 0 comments

Comments

@baileyherbert
Copy link
Owner

baileyherbert commented Sep 8, 2021

Error

If you're receiving one of the following errors, there was an issue installing the package.

Error: Could not find the "utimes.node" file. See: https://github.com/baileyherbert/utimes/issues/12
Error: Could not find the "utimes" binary

Solution

Please try the following steps to resolve the issue:

  • Make sure you're not installing with the --ignore-scripts flag.
  • Update the package to the latest version with npm update utimes
  • Delete the node_modules directory and run npm install again. Check the output carefully for any errors related to utimes.
  • Try running npm install utimes --force --no-save and check the output for errors.
  • Open a terminal inside node_modules/utimes, run npm run build, and check for errors.

If it's still not working, please post here or open a new issue and include both your operating system and the installed package version (check by running npm list utimes).

Note: I host prebuilt binaries for this package on Amazon S3. If there's an Amazon outage, the package should fall back to building manually with dev tools, but this could fail if you don't have the required dependencies on your system (e.g. windows-build-tools).

@baileyherbert baileyherbert pinned this issue Sep 8, 2021
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

1 participant