Bug description
Hi bot/people.
I managed to get SS run in my work computer with arch WSL and now want to get it to run in my home computer with native Archlinux.
Ran:
docker compose -f docker-compose-non-dev.yml up
and just when ending the node compiling stuff (99.9%) i got:
189.6 [webpack.Progress] 99% cache shutdown IdleFileCachePlugin serialize pack
200.7 [webpack.Progress] 99% cache shutdown IdleFileCachePlugin stored
200.7 [webpack.Progress] 99% cache shutdown
200.7 [webpack.Progress] 100%
200.7
202.3 1030 assets
202.3 13946 modules
202.3
202.3 ERROR in ./plugins/legacy-preset-chart-deckgl/src/layers/Polygon/transformProps.test.ts:58:19
202.3 TS2322: Type '"table"' is not assignable to type 'DatasourceType'.
202.3 56 | },
202.3 57 | ],
202.3 > 58 | datasource: { type: 'table' as const, id: 1 },
202.3 | ^^^^
202.3 59 | height: 400,
202.3 60 | width: 600,
202.3 61 | hooks: {},
202.3
202.3 webpack 5.102.1 compiled with 1 error in 185394 ms
failed to solve: process "/bin/sh -c if [ \"${DEV_MODE}\" = \"false\" ]; then echo \"Running 'npm run ${BUILD_CMD}'\"; npm run ${BUILD_CMD}; else echo \"Skipping 'npm run ${BUILD_CMD}' in dev mode\"; fi;" did not complete successfully: exit code: 1
I already made this build process twice, removing the volumes in each case. (in case you bot suggest me to do that).
Thanks.
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Comment From: dosubot[bot]
The error is likely caused by using unsupported Python (3.9) and Node (16) versions—Superset master/latest-dev now requires Python 3.10 or 3.11 and Node.js 20.x for builds to succeed. The 'table' value is valid for DatasourceType, so the type error is probably a symptom of environment mismatch, not a code bug (reference).
Upgrade your environment to Python 3.10/3.11 and Node 20.x, then clean out old Docker volumes and node_modules before rebuilding. This should resolve the TypeScript error and allow the build to complete.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other