NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

Problem when build with flag --env.compileSnapshot on WIndows with Docker Toolbox #1101

Closed jorfranb closed 4 years ago

jorfranb commented 4 years ago

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

Describe the bug When trying to build with these configurations: tns build android --release --env.snapshot --clean --env.aot --env.compileSnapshot --env.uglify --key-store-path PATH file system --key-store-alias ALIAS --key-store-alias-password PASSWORD The console throws this error: ERROR in NativeScriptSnapshot. Snapshot generation failed! Target architecture: armeabi-v7a docker: Error response from daemon: invalid mode: /app. See 'docker run --help'.

To Reproduce Try to build on Windows 10 for Android with flag --env.snapshot using Docker Toolbox

Expected behavior A complete .apk build

Additional context It is important to note that I am using Docker Toolbox instead of Docker Desktop in order to overcome HyperV conflicts generated after Docker install working with Genymotion emulators. Also it could be usefull this Blog: https://nickjanetakis.com/blog/behind-the-scenes-of-debugging-an-error-that-i-couldnt-google With that info I tried to look if the problem was generated with some weird folder name of my project path but even trying with a normal forder name in C:/ doesn´t worked.

support[bot] commented 4 years ago

:wave: @ofe2358, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please, use Stackoverflow to get help.