Closed rrymm closed 4 years ago
Same for me, everything was fine, yesterday got same Error, still not found any solutions.
@sergiupris @rrymm I can't seem to be able to replicate the issue. Can you tell what emulator it is? What version? Tried with emulator already running and without, in my case it doesn't enter the if statement that is causing you errors. As far as I see it's meant for physical devices.
@mihaiblaga89 I was running app (only) on Physical device before Error, now I tried to run also on Emulator ( T-samsung-5.5-x86
) - same error.
Env Info: darwin | x64 | node v12.4.0 | rnv v0.28.14
Have tried another node/rnv
version - same error.
What other rnv versions did you try? Have you tried with the latest alpha? 0.28.17-alpha.2
That's the one I'm using and I can't seem to replicate the problem. Also updated my emulator from 5.0 to 5.5 but it still works as expected
On Thu, Jan 16, 2020, 15:01 Sergiu Prisacar notifications@github.com wrote:
@mihaiblaga89 https://github.com/mihaiblaga89 I was running app on Physical device before Error, now I tried to run also on Emulator ( T-samsung-5.5-x86 ) - same error. Env Info: darwin | x64 | node v12.4.0 | rnv v0.28.14
Have tried another node/rnv version - same error.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pavjacko/renative/issues/391?email_source=notifications&email_token=ABEQ5OR6IXGMDEFNIQ5EY4DQ6BSCDA5CNFSM4KHNOD42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJEE6II#issuecomment-575164193, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEQ5OQJV4WAROHNTTQFLGTQ6BSCDANCNFSM4KHNOD4Q .
@sergiupris @rrymm just got the confirmation that this issue was already fixed in0.28.17-alpha.2
, that's why I couldn't replicate it. You can test it with that version or wait for the next stable release
For physical device now:
│ 🛑 $ rnv run -p tizen -d -t <IP> - ERRROR! COMMAND:
/Users/spv/tizen-studio/tools/ide/bin/tizen install -- /Users/spv/projects/<projname>/platformBuilds/blank_tizen/output -n <name>.wgt -t UE55NU7172
FAILED with ERROR:
Command failed with exit code 1 (EPERM): /Users/spv/tizen-studio/tools/ide/bin/tizen install -- /Users/spv/projects/<projname>/platformBuilds/blank_tizen/output -n <name>.wgt -t UE55NU7172
......................
......................
│ 🛑 $ rnv run -p tized -d -t <IP> - ERRROR! COMMAND:
/Users/spv/tizen-studio/tools/emulator/bin/em-cli launch --name <IP>
FAILED with ERROR:
Error: <IP> does not match any VM
│
For emulator now (tried both being started/not started):
│ 🛑 $ rnv run -p tizen -t T-samsung-5.5-x86 - ERRROR! COMMAND:
/Users/spv/tizen-studio/tools/ide/bin/tizen install -- /Users/spv/projects/<projname>/platformBuilds/blank_tizen/output -n <name>.wgt -t T-samsung-5.5-x86
FAILED with ERROR:
app_id[NkVRhWHJST.<name>] install failed[118, -12], reason: Check certificate error :
spend time for wascmd is [541]ms
Failed to install Tizen application.
Total time: 00:00:01.476
│ 🛑 $ rnv run -p tizen -t T-samsung-5.5-x86 - ERRROR! COMMAND:
/Users/spv/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-5.5-x86
FAILED with ERROR:
Error: Failed to start this VM.
[T-samsung-5.5-x86] is running now...
List of devices attached
<IP> device UE55NU7172
emulator-26101 device T-samsung-5.5-x86
I have the same issue
│ 🛑 $ rnv run -p tizen -d -t <IP>
- ERRROR! COMMAND:
/home/ink/tizen-studio/tools/emulator/bin/em-cli launch --name <IP>
FAILED with ERROR:
Error: <IP>
does not match any VM
ink@ink-labs42:~/tizen-studio/tools$ ./sdb devices
List of devices attached
<IP>
:26101 device UE55NU7172
Env Info: linux | x64 | node v12.14.1 | rnv v0.28.17-alpha.2
@sergiupris for the TV, it seems the command failed with a permission error (EPERM). Can you try to run it directly to get more informations? /Users/spv/tizen-studio/tools/ide/bin/tizen install -- /Users/spv/projects/<projname>/platformBuilds/blank_tizen/output -n <name>.wgt -t UE55NU7172
for the emulator, I see this app_id[NkVRhWHJST.<name>] install failed[118, -12], reason: Check certificate error
. I would suggest retrying or deleting the p12 file from /Users/spv/.rnv
or whatever folder you use for your workspace (if you use one). RNV should then recreate the author certificate .
I think that the Error: Failed to start this VM.
is given because it fails first with the above mentioned error and then the throw bubbles up and triggers this message as well. I'll investigate if this is the case or not.
@inkmirror if you have the same error before the Failed to start VM
please try the same approach.
Also, it will be more helpful if you guys would run the commands with -i
so more debug informations were added to the console
@mihaiblaga89 thanks.
Hello.
The initial issue is not existing Version: 0.28.17 Thanks.
Hello
Project Name:TV │ │ Project Version: 0.1.0 │ │ App Config: blank │ │ Workspace: rnv │ │ Supported Platforms: android, androidtv, androidwear, │ │ firefoxos, firefoxtv, ios, kaios, macos, tizen, tizenmobile, │ │ tizenwatch, tvos, web, webos, windows │ │ Env Info: darwin | x64 | node v13.6.0 | rnv v0.28.13 │ │ Platform: tizen │ │ Executed Time: 0h:0m:0s:582ms
When we are trying to tun via Tizen emulator, node generates issue:
rnv run -p tizen - ERRROR! Cannot read property 'platform' of undefined
Project Name: TV │ │ Project Version: 0.1.0 │ │ App Config: blank │ │ Workspace: rnv │ │ Supported Platforms: android, androidtv, androidwear, │ │ firefoxos, firefoxtv, ios, kaios, macos, tizen, tizenmobile, │ │ tizenwatch, tvos, web, webos, windows │ │ Env Info: darwin | x64 | node v13.6.0 | rnv v0.28.13 │ │ Platform: tizen │ │ Executed Time: 0h:0m:0s:582ms │ │ │ │ ⚠️ $ rnv run -p tizen - WARNING: You're missing "scripts": { "postinstall": "jetify" } in your package.json. Your android build might fail! │ ⚠️ $ rnv run -p tizen - WARNING: Your appConfig for platform tizen has no buildSchemes. Will continue with defaults │ ⚠️ $ rnv run -p tizen - WARNING: sanitizeColor: passed null. will use default #FFFFFF instead │ 🛑 $ rnv run -p tizen - ERRROR! Cannot read property 'platform' of undefined TypeError: Cannot read property 'platform' of undefined at platform (/Volumes/Dev/DevWork/node_modules/rnv/src/platformTools/tizen/index.js:31:28) at formatXMLObject (/Volumes/Dev/DevWork/node_modules/rnv/src/platformTools/tizen/index.js:133:30) at tryCatch (/Volumes/Dev/DevWork//node_modules/regenerator-runtime/runtime.js:62:40) at Generator.invoke [as _invoke] (/Volumes/Dev/DevWork/node_modules/regenerator-runtime/runtime.js:288:22) at Generator.prototype. [as next] (/Volumes/Dev/DevWork/node_modules/regenerator-runtime/runtime.js:114:21)
at tryCatch (/Volumes/Dev/DevWork/node_modules/regenerator-runtime/runtime.js:62:40)
at invoke (/Volumes/Dev/DevWork/node_modules/regenerator-runtime/runtime.js:152:20)
at /Volumes/Dev/DevWork/node_modules/regenerator-runtime/runtime.js:162:13
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Best reagrds & thanks
R.