dosubot[bot] commented on issue #36337:
URL: https://github.com/apache/superset/issues/36337#issuecomment-3591908052

   <!-- Answer -->
   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](https://github.com/apache/superset/issues/35823)). 
   
   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.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/c7e9f1ff-acdc-4631-aa97-306a02b6d3e8?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/c7e9f1ff-acdc-4631-aa97-306a02b6d3e8?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/c7e9f1ff-acdc-4631-aa97-306a02b6d3e8?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/c7e9f1ff-acdc-4631-aa97-306a02b6d3e8?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/c7e9f1ff-acdc-4631-aa97-306a02b6d3e8?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/c7e9f1ff-acdc-4631-aa97-306a02b6d3e8?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/c7e9f1ff-acdc-4631-aa97-306a02b6d3e8?feedback_type=other)</sup>
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20error%20is%20likely%20caused%20by%20using%20unsupported%20Python%20%283.9%29%20and%20Node%20%2816%29%20versions%E2%80%94Superset%20master/latest-dev%20now%20requires%20Python%203.10%20or%203.11%20and%20Node.js%2020.x%20for%20builds%20to%20succeed.%20The%20%27table%27%20value%20is%20valid%20for%20DatasourceType%2C%20so%20the%20type%20error%20is%20probably%20a%20symptom%20of%20environment%20mismatch%2C%20not%20a%20code%20bug%C2%A0%28%5Breference%5D%28https%3A//github.com/apache/superset/issues/35823%29%29.%20%0A%0AUpgrade%20your%20environment%20to%20Python%203.10/3.11%20and%20Node%2020.x%2C%20then%20clean%20out%20old%20Docker%20volumes%20and%20node_modules%20before%20rebuilding.%20This%20should%20resolve%20the%20TypeScript%20error%20and%20allow
 %20the%20build%20to%20complete.)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/36337)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to