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

[Recoil 0.6.0] Postinstall script fails to find gen-flow-files #1575

Closed
fguitton opened this issue Jan 29, 2022 · 2 comments
Closed

[Recoil 0.6.0] Postinstall script fails to find gen-flow-files #1575

fguitton opened this issue Jan 29, 2022 · 2 comments

Comments

@fguitton
Copy link

fguitton commented Jan 29, 2022

Hello everyone,

While attempting to run yarn install following an upgrade of recoil from 0.5.2 to 0.6.0 it fails to execute the postinstall scripts looking for package gen-flow-files to build. This is likely because it is listed as a devDependencies in the final NPM package.

"postinstall": "cd ./node_modules/gen-flow-files && yarn install && yarn build",

It fails as follows:

> yarn install
yarn install v1.22.17
$ node ./scripts/hintYarn.js
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/5] ⠂ core-js
[2/5] ⠂ recoil
[3/5] ⠂ @parcel/watcher
[4/5] ⠂ cypress
error C:\Repos\secretarium\node_modules\recoil: Command failed.
Exit code: 1
Command: cd ./node_modules/gen-flow-files && yarn install && yarn build
Arguments:
>

Considering it seems to be only an exercise to override publishing helper tool called via npx, I imagine there is an easy way forward. It's a PR I could make, but I don't know how your team would prefer done.

Hopefully there is a resolution coming into a 0.6.1 soon !
As always, thank you very much for all the work on this repo !

🚀

@gurkerl83
Copy link

Duplicate of #1541

@fguitton
Copy link
Author

Fixed in #1577 published in 0.6.1

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

2 participants