Content-Length: 260277 | pFad | http://github.com/NativeScript/nativescript-cli/commit/91eab28c982e98f7dec6ab3aa943900daed2f12a

8F fix(windows): APPDATA required (#5823) · NativeScript/nativescript-cli@91eab28 · GitHub
Skip to content

Commit 91eab28

Browse files
authored
fix(windows): APPDATA required (#5823)
1 parent 8449d6b commit 91eab28

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/services/webpack/webpack-compiler-service.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,10 @@ export class WebpackCompilerService
355355
stdio,
356356
};
357357
options.env = {
358-
NATIVESCRIPT_WEBPACK_ENV:JSON.stringify(envData)
358+
NATIVESCRIPT_WEBPACK_ENV: JSON.stringify(envData),
359+
};
360+
if (this.$hostInfo.isWindows) {
361+
Object.assign(options.env, { APPDATA: process.env.appData });
359362
}
360363
if (this.$options.hostProjectPath) {
361364
Object.assign(options.env, {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/nativescript-cli/commit/91eab28c982e98f7dec6ab3aa943900daed2f12a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy