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

Cannot run viewer #2

Open
mghaigh opened this issue Jun 28, 2021 · 1 comment
Open

Cannot run viewer #2

mghaigh opened this issue Jun 28, 2021 · 1 comment

Comments

@mghaigh
Copy link

mghaigh commented Jun 28, 2021

After running yarn install then yarn start-app get lots of errors of the form

ERROR in node_modules/@types/lodash/common/array.d.ts(176,44): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(186,44): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(227,58): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(237,59): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(732,46): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(742,46): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(784,48): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(794,48): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(1782,62): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(1788,67): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(1809,86): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(1813,66): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(1819,86): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/array.d.ts(1823,71): error TS2304: Cannot find name 'unknown'.
node_modules/@types/lodash/common/common.d.ts(12,20): error TS2370: A rest parameter must be of an array type.
node_modules/@types/lodash/common/common.d.ts(21,20): error TS2370: A rest parameter must be of an array type.
node_modules/@types/lodash/common/common.d.ts(97,21): error TS2370: A rest parameter must be of an array type.
node_modules/@types/lodash/common/common.d.ts(190,35): error TS2370: A rest parameter must be of an array type.
node_modules/@types/lodash/common/common.d.ts(200,40): error TS2370: A rest parameter must be of an array type.

I am not a js/node developer so I may be doing something dumb. I assume it's a dependency issue but nothing I have tried works. Any thoughts/fixes gratefully received.

@danfare
Copy link

danfare commented Jul 23, 2021

I removed @types lodash https://github.com/bolcom/avro-schema-viewer/blob/master/package.json#L45 and increased the other lodash version to 4.17.15 https://github.com/bolcom/avro-schema-viewer/blob/master/package.json#L50 and it compiled but it still wouldn't load my schema in. My schemas span more than one file so that might be why. Hope this helps for you

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