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

fixup postinstall by running patch-package as a dep #403

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

talentlessguy
Copy link
Contributor

finally fixes post-install when installing as a 3rd party dep

this is needed for the manager app to be able to use new contracts. Rn installation fails in certain cases with this cryptic error:

15 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
16 verbose stack Error: ENOENT: no such file or directory, lstat '/home/v1rtl/Coding/ens/ens-app-v3/lib'
16 verbose stack     at async lstat (node:internal/fs/promises:1023:18)
16 verbose stack     at async #loadActual (/home/v1rtl/.local/share/fnm/node-versions/v22.5.1/installation/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-actual.js:112:20)
16 verbose stack     at async exec (/home/v1rtl/.local/share/fnm/node-versions/v22.5.1/installation/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:207:26)
16 verbose stack     at async Npm.exec (/home/v1rtl/.local/share/fnm/node-versions/v22.5.1/installation/lib/node_modules/npm/lib/npm.js:207:9)
16 verbose stack     at async module.exports (/home/v1rtl/.local/share/fnm/node-versions/v22.5.1/installation/lib/node_modules/npm/lib/cli/entry.js:74:5)
17 error code ENOENT
18 error syscall lstat
19 error path /home/v1rtl/Coding/ens/ens-app-v3/lib
20 error errno -2
21 error enoent ENOENT: no such file or directory, lstat '/home/v1rtl/Coding/ens/ens-app-v3/lib'
22 error enoent This is related to npm not being able to find a file.
22 error enoent

this PR fixes it (hopefully)

@talentlessguy talentlessguy requested a review from TateB January 16, 2025 14:15
@talentlessguy talentlessguy merged commit ea9941a into staging Jan 17, 2025
3 checks passed
@talentlessguy talentlessguy deleted the fixup-postinstall branch January 17, 2025 09:35
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

Successfully merging this pull request may close these issues.

1 participant