Skip to content
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

Tizen build on rnv@0.37.2 seems broken #1062

Closed
bruno-sartori opened this issue Jul 3, 2023 · 5 comments
Closed

Tizen build on rnv@0.37.2 seems broken #1062

bruno-sartori opened this issue Jul 3, 2023 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@bruno-sartori
Copy link

After running rnv build -p tizen -s release i cant see any JS files on platformBuilds/blank_tizen folder and both index.html files have an <%= injectedScripts %> tag which means rnv failed to inject <script> tags.

Steps to reproduce the behavior:

  1. After creating a new project with rnv@0.36.1 with tizen support type rnv build -p tizen -s release
  2. See js files missing in platformBuilds/blank_tizen folder and index.html files without <script> tags

Expected behavior:
After building the project JS files should be properly included on final output

Screenshots:
rnv_evidence
rnv_evidence_2
image

Desktop:

  • OS: Windows 10
  • Node Version: 18.16.1
  • RNV Version: 0.36.1
@bruno-sartori bruno-sartori added the bug Something isn't working label Jul 3, 2023
@GabrieleKaceviciute
Copy link
Collaborator

@bruno-sartori thank you for reporting, this will be checked

@bruno-sartori
Copy link
Author

@GabrieleKaceviciute Just to update you, I tested on rnv@0.37.2 and the bug still occurs.

@bruno-sartori bruno-sartori changed the title Tizen build on rnv@0.36.1 seems broken Tizen build on rnv@0.37.2 is broken Aug 10, 2023
@trokohl
Copy link

trokohl commented Sep 27, 2023

also in 0.37.3
it looks like a process overwrites the build folder again after the build is complete

@trokohl
Copy link

trokohl commented Sep 28, 2023

Is there a way to manually create only the build with bundle?
I need to build a new release and I can't get any other version than 0.37.3 to run. But with this I can not build a release?

@trokohl
Copy link

trokohl commented Sep 29, 2023

I don't know exactly how the build process in the directory was intended but here is my workaround.

Step 1
rnv run -p tizen -s release
=> build in platformBuilds/myapp_tizen/build/

Step 2
copy platformBuilds/myapp_tizen/*.* platformBuilds/myapp_tizen/build/
=> config.xml and icon.png are in the root and not in the build folder

Step 3
C:/tizen-studio/tools/ide/bin/tizen.bat build-web -- ./platformBuilds/myapp_tizen/build -out ../buildTizen
=> result is in ./platformBuilds/myapp_tizen/buildTizen

rnv do the following:
C:\tizen-studio\tools\ide\bin\tizen.bat build-web -- <abspath>platformBuilds\myapp_tizen -out <abspath>platformBuilds\myapp_tizen\build
what is wrong with the directory structure because the js-build is in the build folder and in platformBuilds\myapp_tizen is only the config.xml, icon.png and a public folder with the debug index.html

Step 4
C:/tizen-studio/tools/ide/bin/tizen.bat package -- ./platformBuilds/myapp_tizen/buildTizen -s mycertname -t wgt -o ./platformBuilds/myapp_tizen/output
=> create the wgt file (perhabs you have to rename it if it contains blanks)

Step 5
C:/tizen-studio/tools/ide/bin/tizen.bat install -n ./platformBuilds/myapp_tizen/output/myapp.wgt
=> Install

@mihaiblaga89 mihaiblaga89 added this to the 1.0 milestone Oct 4, 2023
@pavjacko pavjacko changed the title Tizen build on rnv@0.37.2 is broken Tizen build on rnv@0.36.1 seems broken Jan 23, 2024
@pavjacko pavjacko changed the title Tizen build on rnv@0.36.1 seems broken Tizen build on rnv@0.37.2 seems broken Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants