This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork40
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Improve find and rename snapshots functionality #583
Open
Description
Issue Checklist
- You are submitting: feature request/bug report
- You verified that this is a real problem by searching the [NativeScript Forum] and the other [issues] in this repo.
- You checked our [demo apps] and the [documentation] for sample usage.
Tell us about the problem
I had a problem, with generating snapshots, because it seems thatfind
inhttps://github.com/NativeScript/nativescript-dev-webpack/blob/master/snapshot/android/project-snapshot-generator.js#L118 is pretty sensitive together with PATH environmental variable. I was getting couple of errors, which later on resulted in application crashes, as it wasn't able to find snapshot file, because they had the wrong name.
I was getting following error:
find: The relative path ‘~/.local/bin’ is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove that entry from $PATH
Where for Linux user it's pretty common to have~/.local/bin
in PATH.
It would be cool to make it more environmental-agnostic.
Local environment
- Platform: Linux
Project data
- Platform you are building the app for: Android