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

   <!-- Answer -->
   This is a known issue that occurs when the plugin output files are out of 
sync with source files after pulling from master. The fix is to build the 
plugins:
   
   ```bash
   cd superset-frontend
   npm run plugins:build
   ```
   
   This rebuilds the transpiled `lib/` and `esm/` directories that the [legacy 
chart plugin 
imports](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/visualizations/presets/MainPreset.js#L25-L42)
 depend on.
   
   If that doesn't resolve it, try:
   1. `npm run prune` to clean cache and node_modules
   2. Ensure you're using Node.js 20.x (Node 16 is outdated for current master)
   3. Fresh `npm install` after cleaning
   
   
   <!-- 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/8383ff31-a73a-4618-853a-7a8c07cd05b0?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/8383ff31-a73a-4618-853a-7a8c07cd05b0?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/8383ff31-a73a-4618-853a-7a8c07cd05b0?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/8383ff31-a73a-4618-853a-7a8c07cd05b0?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/8383ff31-a73a-4618-853a-7a8c07cd05b0?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/8383ff31-a73a-4618-853a-7a8c07cd05b0?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/8383ff31-a73a-4618-853a-7a8c07cd05b0?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=This%20is%20a%20known%20issue%20that%20occurs%20when%20the%20plugin%20output%20files%20are%20out%20of%20sync%20with%20source%20files%20after%20pulling%20from%20master.%20The%20fix%20is%20to%20build%20the%20plugins%3A%0A%0A%60%60%60bash%0Acd%20superset-frontend%0Anpm%20run%20plugins%3Abuild%0A%60%60%60%0A%0AThis%20rebuilds%20the%20transpiled%20%60lib/%60%20and%20%60esm/%60%20directories%20that%20the%20%5Blegacy%20chart%20plugin%20imports%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/visualizations/presets/MainPreset.js%23L25-L42%29%20depend%20on.%0A%0AIf%20that%20doesn%27t%20resolve%20it%2C%20try%3A%0A1.%20%60npm%20run%20prune%60%20to%20clean%20cache%20and%20node_modules%0A2.%20Ensure%2
 
0you%27re%20using%20Node.js%2020.x%20%28Node%2016%20is%20outdated%20for%20current%20master%29%0A3.%20Fresh%20%60npm%20install%60%20after%20cleaning)&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/38016)


-- 
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