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

fail after run npm run dev #9633

Closed
cyang52 opened this issue Apr 23, 2020 · 9 comments
Closed

fail after run npm run dev #9633

cyang52 opened this issue Apr 23, 2020 · 9 comments
Labels
inactive Inactive for >= 30 days

Comments

@cyang52
Copy link

cyang52 commented Apr 23, 2020

after run npm run dev
it reports:

98% after emitting SizeLimitsPluginERROR in /Users/yes/Downloads/incubator-superset-master/superset-frontend/src/components/ListView/TableCollection.tsx(45,22):
TS2339: Property 'hidden' does not exist on type 'ColumnInstance<{}>'.
ERROR in /Users/yes/Downloads/incubator-superset-master/superset-frontend/src/components/ListView/TableCollection.tsx(48,28):
TS2339: Property 'sortable' does not exist on type 'ColumnInstance<{}>'.
ERROR in /Users/yes/Downloads/incubator-superset-master/superset-frontend/src/components/ListView/TableCollection.tsx(54,27):
TS2339: Property 'sortable' does not exist on type 'ColumnInstance<{}>'.
ERROR in /Users/yes/Downloads/incubator-superset-master/superset-frontend/src/components/ListView/TableCollection.tsx(83,33):
TS2339: Property 'hidden' does not exist on type 'ColumnInstance<{}>'.
ERROR in /Users/yes/Downloads/incubator-superset-master/superset-frontend/src/components/ListView/TableCollection.tsx(85,53):
TS2339: Property 'cellProps' does not exist on type 'ColumnInstance<{}>'.
Version: typescript 3.8.3

any idea?
thanks

@wgonzalez25
Copy link

after npm run build

Appear this error message:
ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx
ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx(45,22):
TS2339: Property 'hidden' does not exist on type 'ColumnInstance<{}>'.

ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx
ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx(48,28):
TS2339: Property 'sortable' does not exist on type 'ColumnInstance<{}>'.

ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx
ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx(54,27):
TS2339: Property 'sortable' does not exist on type 'ColumnInstance<{}>'.

ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx
ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx(85,33):
TS2339: Property 'hidden' does not exist on type 'ColumnInstance<{}>'.

ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx
ERROR in /Users/Walter/incubator-superset/superset-frontend/src/components/ListView/TableCollection.tsx(87,53):
TS2339: Property 'cellProps' does not exist on type 'ColumnInstance<{}>'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! superset@0.999.0-dev build: cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production webpack --mode=production --colors
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the superset@0.999.0-dev build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Walter/.npm/_logs/2020-05-19T18_54_19_904Z-debug.log

Some idea to fix?

@wushu0725
Copy link

Some idea to fix?

@ruanoct
Copy link

ruanoct commented May 28, 2020

I encountered the same problem.

@wgonzalez25
Copy link

Some idea to fix?

Hi @wushu0725 I fixed but I don't used the docker-compose up from incubator-superset. I installed using this steps by steps from this webpage https://medium.com/@kharekartik/a-better-guide-to-building-apache-superset-from-source-2c8dbad38b2b

@wushu0725
Copy link

I fixid it in Centos system, It's window problem.

@lilila
Copy link

lilila commented Jun 9, 2020

How did you fix it @wushu0725 ?

@villebro
Copy link
Member

villebro commented Jun 9, 2020

Are you running Node 12? I think newer versions are not yet supported, so running on 13 or 14 probably doesn't work properly right now.

@sedhha
Copy link

sedhha commented Jul 17, 2020

Are you running Node 12? I think newer versions are not yet supported, so running on 13 or 14 probably doesn't work properly right now.

I am running on v12.18.2 it's still not working.

@mistercrunch mistercrunch added #build and removed !deprecated-label:bug Deprecated label - Use #bug instead labels Jul 17, 2020
@stale
Copy link

stale bot commented Sep 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

8 participants