Error of my Custom widget

0
Hi All, There is an exception  when I build my custom widget ,enter-to-action.I just run the command, yo @mendix/widget enter-to-action.   The log file is here.  6515 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64 6516 verbose stack Error: sha512-eNHUQHuadDMJARpaqvlCZoK/Nitpj6oywq3vQ3wCwEsww5morX34mW5PmKWQTO7aU0ck0hgulxR+EVDlXygGxQ== integrity checksum failed when using sha512: wanted sha512-eNHUQHuadDMJARpaqvlCZoK/Nitpj6oywq3vQ3wCwEsww5morX34mW5PmKWQTO7aU0ck0hgulxR+EVDlXygGxQ== but got sha512-2kxVgDrPhpGBIJRE4TqPngKQh+YWlYd9JP60Maxz+vdrVmv6pj3BpqZlHMWVs5wa4McT9c2M/Z1+xrw4WyVvDw==. (8759751 bytes) 6516 verbose stack     at Transform.<anonymous> (D:\work\program\nodejs\node_modules\npm\node_modules\ssri\index.js:328:19) 6516 verbose stack     at Transform.emit (events.js:327:22) 6516 verbose stack     at endReadableNT (_stream_readable.js:1220:12) 6516 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:84:21) 6517 verbose cwd E:\workspace\Mendix\CBoss-main\CustomWidgets\enter-to-action 6518 verbose Windows_NT 10.0.18363 6519 verbose argv "D:\\work\\program\\nodejs\\node.exe" "D:\\work\\program\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--cache-min" "86400" 6520 verbose node v12.18.3 6521 verbose npm  v6.14.6 6522 error code EINTEGRITY 6523 error sha512-eNHUQHuadDMJARpaqvlCZoK/Nitpj6oywq3vQ3wCwEsww5morX34mW5PmKWQTO7aU0ck0hgulxR+EVDlXygGxQ== integrity checksum failed when using sha512: wanted sha512-eNHUQHuadDMJARpaqvlCZoK/Nitpj6oywq3vQ3wCwEsww5morX34mW5PmKWQTO7aU0ck0hgulxR+EVDlXygGxQ== but got sha512-2kxVgDrPhpGBIJRE4TqPngKQh+YWlYd9JP60Maxz+vdrVmv6pj3BpqZlHMWVs5wa4McT9c2M/Z1+xrw4WyVvDw==. (8759751 bytes) 6524 verbose exit [ 1, true ]   Can anyone know why?  
asked
1 answers
1

Dear Heng Lu,

It looks that some modules are not passing the integrity check. It could be that your cache is corrupt. 

Please clear your npm cache and re-install required modules.

https://github.com/felixrieseberg/npm-windows-upgrade/issues/113

Cheers, Andries

 

 

answered