Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all!
I'm learning how to create a custom visualization widget.
I use Visual Studio Code for editing my files.
Well, I created my project and said "pbiviz start".
It works fine but I have a little trouble.
If I change my sources then pbiviz is trying to rebuild project automatically and it crashes with following error: " UNKNOWN { Error: EPERM: operation not permitted, open ...my_project_path\.tmp\drop\status". Next I delete the file ...my_project_path\.tmp\drop\status and say "pbiviz start" again. Or I can change the "hidden" flag for the .tmp folder and then pbiviz build it.
And everytime when I change the source I must delete this file. I'm really tired for it.
How can I rebuild my sources without "shamanic dances"?
Please help me. In another case I will going crazy soon...
P.S. I have Windows 7 32 bit and pbiviz v.1.10.1
Solved! Go to Solution.
Hello Ignat!
I have reinstalled node.js and pbiviz and problem is disappeared now.
We can close this ticket.
Thank you!
Looks like a new issue of PBIVIZ.
What node and npm version do you use? Have you tried to execute pbiviz package under administrator?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hello Ignat!
Thank you for answer.
It is output of "npm version" command below:
{ npm: '5.6.0', ares: '1.10.1-DEV', cldr: '31.0.1', http_parser: '2.7.0', icu: '59.1', modules: '57', nghttp2: '1.25.0', node: '8.9.4', openssl: '1.0.2n', tz: '2017b', unicode: '9.0', uv: '1.15.0', v8: '6.1.534.50', zlib: '1.2.11' }
I am administrator on my computer. I have tried run the PowerShell "as Administrator" and it does not matter.
Below is output of pbiviz compilier.
PS C:\temp\testVis> pbiviz start info Building visual... error UNKNOWN { Error: EPERM: operation not permitted, open 'C:\temp\testVis\.tmp\drop\status' at Object.fs.openSync (fs.js:646:18) at Object.fs.writeFileSync (fs.js:1291:33) at Promise (C:\Users\Alex\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\lib\VisualBuilder.js:586:16) at new Promise (<anonymous>) at VisualBuilder._updateStatus (C:\Users\Alex\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\lib\VisualBui lder.js:577:16) at _validateApiVersion.then.then.then.then (C:\Users\Alex\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\l ib\VisualBuilder.js:103:30) at <anonymous> errno: -4048, code: 'EPERM', syscall: 'open', path: 'C:\\temp\\testVis\\.tmp\\drop\\status' }
I have set "full control" permissions for everyone on the folder "C:\Temp".
But error is happening until I delete the file .\tmp\drop\status. Second way is uncheck "hidden" flag for the folder .\tmp
Any ideas?
Thanks in advance,
Alexander.
Hello Ignat!
I have reinstalled node.js and pbiviz and problem is disappeared now.
We can close this ticket.
Thank you!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
5 | |
2 | |
1 | |
1 | |
1 |