-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to find module with absolute path, crash in DEMO on Android #37
Comments
Well it shouldn't be looking in your |
Another thing I never run So it's possible something went wrong during that step and the module never was installed correctly. |
Ok, following steps were done: Still same crash as before. In my main-page.xml I have the following: |
if you aren't modifying the demo then it should work, let me do a test run of it |
oh I think I know, it's likely not transpiling the TS. I manually do that just by habit. I bet that's the issue so if you went and looked in your node_modules you won't see any .js files - shouldn't even have the .ts source files. Let me know if you have nothing in the videoplayer folder in node_modules. there should be a few scripts you can run to prepare the demo and one of them handles the |
run |
Yes, running tsc and creating .js files inside nativescript-videoplayer resolved it ! Thank you ! |
Yea - I need to add the scripts to the package.json and doc it on the readme. Might do that later 👍 |
Copied some scripts over from another project, should fix the issue going forward to not skip the transpile step - didn't test though. |
Hello !
I have done the following:
$ git clone https://github.com/bradmartin/nativescript-videoplayer.git
$ cd nativescript-videoplayer/demo
$tns install
$ tns --version
2.3.0
$tns run android
Here is crash log. I could repeatedly reproduce this crash on emulator or device no matter what I do.
Something you see I am doing wrong?
The text was updated successfully, but these errors were encountered: