Hi all,
I am trying to run the install and run the LineDotChart by Microsoft, but without success.
When npm install I get the following error messages:
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\typedarray-f3f8b705\package.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\type-is-7846aae4\package.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\typedarray-f3f8b705\LICENSE'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\type-is-7846aae4\HISTORY.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\typedarray-f3f8b705\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\type-is-7846aae4\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\type-is-7846aae4\LICENSE'
.
.
.
[Much more rows like this...]
.
.
.
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\tslint-286165b1\lib\rules\completed-docs\exclusionFactory.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\tslint-286165b1\lib\rules\completed-docs\exclusionFactory.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\tslint-286165b1\lib\rules\completed-docs\tagExclusion.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\........\otravez\node_modules\.staging\tslint-286165b1\lib\rules\completed-docs\tagExclusion.js'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\........\otravez\node_modules\.staging\less-0a1e8cab\test\less-bom\errors'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\........\otravez\node_modules\.staging\less-0a1e8cab\test'
npm ERR! path C:\Users\........\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\cd\02\0c3a60bedfbda90bf08254baa7434cd206263b1c7a1d53b9a941d8e265d75e93818c8f7d48ddd509ee002cf68eb95fb9a74666ba3a890e91ce9ff638df06
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'C:\Users\........\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\cd\02\0c3a60bedfbda90bf08254baa7434cd206263b1c7a1d53b9a941d8e265d75e93818c8f7d48ddd509ee002cf68eb95fb9a74666ba3a890e91ce9ff638df06'
npm ERR! { Error: EPERM: operation not permitted, lstat 'C:\Users\........\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\cd\02\0c3a60bedfbda90bf08254baa7434cd206263b1c7a1d53b9a941d8e265d75e93818c8f7d48ddd509ee002cf68eb95fb9a74666ba3a890e91ce9ff638df06'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, lstat 'C:\Users\........\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\cd\02\0c3a60bedfbda90bf08254baa7434cd206263b1c7a1d53b9a941d8e265d75e93818c8f7d48ddd509ee002cf68eb95fb9a74666ba3a890e91ce9ff638df06'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'C:\\Users\\........\\AppData\\Roaming\\npm-cache\\_cacache\\content-v2\\sha512\\cd\\02\\0c3a60bedfbda90bf08254baa7434cd206263b1c7a1d53b9a941d8e265d75e93818c8f7d48ddd509ee002cf68eb95fb9a74666ba3a890e91ce9ff638df06' },
npm ERR! stack: 'Error: EPERM: operation not permitted, lstat \'C:\\Users\\........\\AppData\\Roaming\\npm-cache\\_cacache\\content-v2\\sha512\\cd\\02\\0c3a60bedfbda90bf08254baa7434cd206263b1c7a1d53b9a941d8e265d75e93818c8f7d48ddd509ee002cf68eb95fb9a74666ba3a890e91ce9ff638df06\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'lstat',
npm ERR! path: 'C:\\Users\\........\\AppData\\Roaming\\npm-cache\\_cacache\\content-v2\\sha512\\cd\\02\\0c3a60bedfbda90bf08254baa7434cd206263b1c7a1d53b9a941d8e265d75e93818c8f7d48ddd509ee002cf68eb95fb9a74666ba3a890e91ce9ff638df06',
npm ERR! parent: 'otravez' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\........\AppData\Roaming\npm-cache\_logs\2019-05-02T06_45_04_871Z-debug.log
Then if I try to pbiviz start:
error UNKNOWN TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at VisualPackage.join (path.js:489:7)
at VisualPackage.buildPath (C:\Users\........\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\lib\VisualPackage.js:115:26)
at Promise (C:\Users\........\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\lib\LessCompiler.js:53:42)
at new Promise (<anonymous>)
at Function.build (C:\Users\........\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\lib\LessCompiler.js:52:16)
at _validateApiVersion.then (C:\Users\........\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\lib\VisualBuilder.js:100:38)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:695:11)
If I download another custom visual from the Microsoft Git, and do the same steps as above, it works perfect. Could anyone help me with resolving this issue for the LineDotChart visual? Maybe I am doing something wrong?