Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to use a CSV writer to write some data into a .CSV file after installing the npm package and using the npm example I get an error:
ERROR in ./node_modules/csv-writer/dist/lib/file-writer.js 40:11-24
Module not found: Error: Can't resolve 'fs' in 'C:\Users\LukasSchlechter\desktop\finaler test\test\node_modules\csv-writer\dist\lib'
I've tried installing 'fs' via npm but this didn't solve my problem...
I had a lot of problems with the node_modules in the Power Bi custom visual package
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @LukasSchlechter,
May I know where did you get this issue? Did you get it in Power BI Desktop or Power BI service? Is your custom visual developed with Python? There are some limitation using Python in Power BI and the packages used are limited in Power BI service.
Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Learn
Learn which Python packages are supported - Power BI | Microsoft Learn
Best Regards,
Community Support Team _ Caiyun