-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
Strangely getting a build error locally, whereas github workflow and netlify checks are passing.
yarn workspace pioneer build
on development branch
Version 3.7.2
joy-proposals/src/Proposal/ChooseProposalType.tsx:42:55 - error TS2339: Property 'category' does not exist on type 'never'.
42 .filter(typeInfo => !category || typeInfo.category === category)
~~~~~~~~
joy-utils/src/react/context/transport.tsx:5:8 - error TS2613: Module '"/Users/mokhtar/joystream/joystream/pioneer/packages/joy-utils/src/Transport"' has no default export. Did you mean to use 'import { Transport } from "/Users/mokhtar/joystream/joystream/pioneer/packages/joy-utils/src/Transport"' instead?
5 import Transport from "../../transport";
~~~~~~~~~
joy-utils/src/react/hooks/proposals/useProposalSubscription.tsx:34:13 - error TS7006: Parameter 'unsubscribe' implicitly has an 'any' type.
34 .then(unsubscribe => {
~~~~~~~~~~~
joy-utils/src/react/hooks/useTransport.tsx:2:8 - error TS2613: Module '"/Users/mokhtar/joystream/joystream/pioneer/packages/joy-utils/src/Transport"' has no default export. Did you mean to use 'import { Transport } from "/Users/mokhtar/joystream/joystream/pioneer/packages/joy-utils/src/Transport"' instead?
2 import Transport from "../../transport";
~~~~~~~~~
Found 4 errors.
MokoBook:joystream mokhtar$ yarn --version
1.16.0
MokoBook:joystream mokhtar$ node --version
v12.17.0Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels