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

Vercel deploy failing on normal PR test builds and merges #4600

Closed
mikehardy opened this issue Nov 23, 2020 · 3 comments
Closed

Vercel deploy failing on normal PR test builds and merges #4600

mikehardy opened this issue Nov 23, 2020 · 3 comments
Assignees
Labels
help: needs-triage Issue needs additional investigation/triaging. tools: ci

Comments

@mikehardy
Copy link
Collaborator

https://vercel.com/invertase/react-native-firebase/l8xtr6lmy

Not sure why?

Command "cd website && yarn && yarn run build" exited with 1


 
--
10:30:05.113 | $ gatsby build
10:30:08.374 | success open and validate gatsby-configs - 0.268s
10:30:08.977 | success load plugins - 0.602s
10:30:09.055 | success onPreInit - 0.076s
10:30:09.059 | success delete html and css files from previous builds - 0.003s
10:30:09.066 | success initialize cache - 0.006s
10:30:09.097 | success copy gatsby files - 0.031s
10:30:09.115 | success onPreBootstrap - 0.018s
10:30:09.163 | success createSchemaCustomization - 0.001s
10:30:10.358 | /vercel/workpath0/tsconfig.json
10:30:10.673 | Using TypeScript 3.9.7 from /vercel/workpath0/website/node_modules/typescript/lib
10:30:17.970 | Error: /vercel/workpath0/node_modules/@types/react-native/node_modules/@types/react/index.d.ts(2980)
10:30:17.970 | Duplicate identifier 'LibraryManagedAttributes'.
10:30:17.971 | Error: /vercel/workpath0/node_modules/@types/react-native/node_modules/@types/react/index.d.ts(2991)


@mikehardy mikehardy added type: bug New bug report help: needs-triage Issue needs additional investigation/triaging. tools: ci Workflow: Needs Review Pending feedback or review from a maintainer. and removed type: bug New bug report labels Nov 23, 2020
@mikehardy mikehardy self-assigned this Nov 23, 2020
@andersonaddo
Copy link
Contributor

Let the entropy-induced headaches commence.

@mikehardy
Copy link
Collaborator Author

Yeah, entropy literally never stops. I released useful energy as pointless heat just by transmitting this message, and the heat probably broke something in the internet somewhere.

@mikehardy
Copy link
Collaborator Author

I have a rough root cause analysis on this one. 'react' as a dependency has moved from v16 to v17, and there are some types dependencies that are loose (* specified for @types/react) while others are pinning a version.

So multiple react types are coming in at the same time causing it to blow up. I can reproduce it in a clean RNFB checkout locally by doing yarn && cd website && yarn && yarn build) but I don't have a fix quite yet

DefinitelyTyped/DefinitelyTyped#25145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help: needs-triage Issue needs additional investigation/triaging. tools: ci
Projects
None yet
Development

No branches or pull requests

2 participants