https://github.com/nathanwalker/ui-core-issue
https://github.com/nathanwalker/ui-core-issue
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nathanwalker/ui-core-issue
- Owner: NathanWalker
- Created: 2018-03-26T23:58:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T00:16:16.000Z (about 8 years ago)
- Last Synced: 2025-06-01T13:05:14.067Z (about 1 year ago)
- Language: TypeScript
- Size: 2.24 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## TO REPRO:
Run commands precisely in this order:
```
npm run clean
npm run clean.mobile
npm run start.mobile
```
You will see it prepares `nativescript-ui-core` twice and also installs it's sub node_modules within itself causing the problem.
Likely the app will crash with the following when it's run:
`Details: unexpected successful exit code from cancelled command `
Solving requires one to open the XCode and remove the duplicate TNSCore.framework which was erroneously added.
**Proposed Solution**: Right now `nativescript-ui-core` is declared in `dependencies` section on all `ui-*` published modules. Instead try declaring it in `devDependencies` or just making it a prerequisite install - that way users will only ever have exactly 1 installed into their project. The ladder is likely the most versatile as it would suffice several npm project setups.