0

when developing for our vscode extension in typscript(e.g. starting "npm run compile")

tsc -p ./client && tsc -p ./server

or when our installer is installating prereqs.:(vscode,npm, npm packages (+ zowe cli)) or updating npm packages, we are having problems with Applocker:

The execution of %OSDRIVE%\USERS\MYUSER\APPDATA\LOCAL\TEMP\COMPILE-74961C62.CMD was blocked.

Is there a way to tell npm to execute this files in another folder (where the applocker does not block it) ? We are aware of the possibility to allow this by applocker (but that could prove difficult because of our companies security guidelines).

Unfortunatly "tmp" this is not supported by NPM anymore:

npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
npm WARN config location in the cache, and they are managed by
npm WARN config     [cacache](http://npm.im/cacache).
npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
npm WARN config location in the cache, and they are managed by
npm WARN config     [`cacache`](http://npm.im/cacache).

Any ideas on how to do this?

Thanks!

Klaus Raab
  • 31
  • 3

0 Answers0