Questions tagged [packager]
55 questions
16
votes
4 answers
React-Native Packager Failure: Duplicate module name
This happened seemingly randomly during development. When trying to run npm start or react-native run-ios, I get the following error:
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name:…

chandlervdw
- 3,197
- 4
- 19
- 21
13
votes
3 answers
Difference of Native packaging between Sencha touch2 and PhoneGap
What is the difference of native packaging between Sencha touch2 and PhoneGap?
Many people use PhoneGap to natively package app based on Sencha touch, but I find that Sencha touch 2 has a new feature of native packaging.
So which type of native…

user1413305
- 161
- 2
- 6
8
votes
6 answers
React native, Unable to resolve module for static image
I'm using react-native 0.14.1
react-native run-android
[3:10:56 PM] find dependencies
Unable to resolve module image!ic_action_android_back_white3 from /Users/lion/Desktop/Developer/AwesomeProject/NewTrackActivity.js
Unable to resolve…

kitta
- 1,723
- 3
- 23
- 33
6
votes
1 answer
How to blacklist specific node_modules of my package's dependencies in react-native's packager?
I'm putting together a streamlined development process with react and react-native that:
encourages packages,
uses babel to transform es6 to js (it compiles before publishing/installing),
has a playground that let's you play with both native and…

Darío Javier Cravero
- 1,692
- 13
- 9
5
votes
1 answer
Bundled JavaFX application runs with non-English arguments throws "Could not start JVM"
I have a problem with running simple JavaFX application. I'm using native packager to build exe. I want to run my application from windows file context menu, but when I try to run application with params:
> JavaFXApplication1.exe ąęć
and i'm…

Krzysiek
- 615
- 8
- 19
4
votes
2 answers
Is there a way to require a non-image asset in react-native new asset system?
In react-native 0.14, we can require an image using const fireImage = require('./images/demo.jpg'). The require works fine with images(png, jpeg, gif), 'js' and 'json' files.
My question is: Is it possible to 'require' a '.mp3' or '.mp4' files?
I…

user552403
- 306
- 1
- 7
4
votes
3 answers
Java solution (framework / library / API) for real crossplatform applications / apps
I dont know but it seems there are several solutoins for Java (Java SE, ME ...) for different platforms so you have to write different versions of the same application for all devices (iOS, Android, Windows, Linux ...).
(Is it even possible to use…
user753676
3
votes
0 answers
JavaFX Packager overwrite/outsource memory params
We deploy our JavaFX Application with Java 8 and JavaFX Packager within an ANT-file.
During the build-process a new application.cfg is generated, which is called by the application.exe and includes information about the application's classpath,…

crusam
- 6,140
- 6
- 40
- 68
3
votes
1 answer
Mpeg Dash - fragmentation and segmentation
I am trying to implement Mpeg DASH streaming using shaka packager.
To generate segments of duration 5 seconds each, --segment_duration param helps me achieve this.
https://google.github.io/shaka-packager/html/documentation.html#chunking-options
I…
user7665040
3
votes
1 answer
Duplicate declaration "AnimatedComponent" Probably an internal error in react-native
I upgraded react-native from 0.48.4 to 0.51.0 After that I am getting this error. whenever I am running packager.Here is the console output
bundling failed: TypeError: /node_modules/react-native/Libraries/Animated/src/createAnimatedComponent.js:…

Dinesh Chitta
- 670
- 8
- 23
3
votes
1 answer
React Native Packager without watchman
I just started looking into react-native for android development and setup the environment in windows. Then it turns out there's no watchman release for windows.
The react native packager runs without watchman but the app reloads or live reloads…

Nay Min
- 85
- 10
2
votes
0 answers
JavaFX Application java.lang.RuntimeException: No toolkit found (UNC Path involved)
For the problem I am facing it is important to know, that we deploy an JavaFX Application with Java 8 (242) together with JavaFX Runtime 202. To build the application we use the javafx packager which creates an EXE-File to launch the application on…

crusam
- 6,140
- 6
- 40
- 68
2
votes
0 answers
Failing to execute tests in Bitrise for debug variant
Description
I'm using Bitrise to run Detox tests. The build command runs ok and is a success. But the test command always fails.
Running locally:
Command detox test -c ios.sim.debug without starting the packager: 'No bundle URL present'…

GuiCavi
- 53
- 5
2
votes
1 answer
Building with custom file extensions in react native
I am developing an app which targets different kinds of users.I want to build different UIs, different Testcases for each variant with same logic in the same repo. Lets say If I have 3 kinds of users(X,Y,Z) So I wanted to achieve like this ,…

Dinesh Chitta
- 670
- 8
- 23
2
votes
0 answers
react-native at different modules ambiguous or not recognized
I've two different modules that have dependencies that use react-native and one of them have react-native on node_modules.
If i run project with only one react-native, the dependencies from the other module not recognize react-native, but if…

Márcio Martins
- 21
- 2