Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rcyber
Resolver I
Resolver I

Pbiviz create me the .tmp\drop\status

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

1 ACCEPTED SOLUTION

Hello Ignat!

I have reinstalled node.js and pbiviz and problem is disappeared now.
We can close this ticket.

Thank you!

View solution in original post

3 REPLIES 3
v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

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!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.