<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jovylle B</title>
    <description>The latest articles on DEV Community by Jovylle B (@jovylle).</description>
    <link>https://dev.to/jovylle</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F806140%2Ffd4e62a8-30f0-4636-b34d-2a0ed4504c6f.png</url>
      <title>DEV Community: Jovylle B</title>
      <link>https://dev.to/jovylle</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jovylle"/>
    <language>en</language>
    <item>
      <title>Connect to you Multipass through SSH</title>
      <dc:creator>Jovylle B</dc:creator>
      <pubDate>Tue, 05 Dec 2023 15:33:59 +0000</pubDate>
      <link>https://dev.to/jovylle/connect-to-you-multipass-through-ssh-1n4h</link>
      <guid>https://dev.to/jovylle/connect-to-you-multipass-through-ssh-1n4h</guid>
      <description>&lt;h2&gt;
  
  
  Connect to you Multipass through SSH
&lt;/h2&gt;

&lt;p&gt;Go to your multipass vm&lt;br&gt;
&lt;code&gt;multipass shell foo&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Edit ssh config and allow PasswordAuthentication&lt;br&gt;
&lt;code&gt;sudo nano /etc/ssh/sshd_config&lt;/code&gt;&lt;br&gt;
find "PasswordAuthentication no" and make it "yes" instead of "no"&lt;/p&gt;

&lt;p&gt;restart ssh &lt;br&gt;
&lt;code&gt;sudo systemctl restart ssh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;go exit&lt;br&gt;
&lt;code&gt;exit&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;from your host do try ssh now.&lt;br&gt;
&lt;code&gt;ssh ubuntu@multipassIp&lt;/code&gt; (get ip from &lt;code&gt;multipass list&lt;/code&gt; to show ip of your vm)&lt;/p&gt;

&lt;p&gt;say &lt;code&gt;yes&lt;/code&gt; if it asks for fingerprint, input your password.&lt;/p&gt;

&lt;h2&gt;
  
  
  And it shoud work by now.
&lt;/h2&gt;

&lt;p&gt;if not try this&lt;br&gt;
&lt;code&gt;multipass shell foo&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sudo passwd ubuntu&lt;/code&gt;&lt;br&gt;
set your password again,&lt;br&gt;
and &lt;code&gt;exit&lt;/code&gt; try again to ssh.&lt;/p&gt;

&lt;p&gt;And you could try this too.&lt;br&gt;
inside multipass vm&lt;br&gt;
&lt;code&gt;sudo usermod -aG sudo ubuntu&lt;/code&gt; &lt;br&gt;
exit and try ssh again.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Old React Native Version on Arm64 devices</title>
      <dc:creator>Jovylle B</dc:creator>
      <pubDate>Mon, 30 Oct 2023 10:22:38 +0000</pubDate>
      <link>https://dev.to/jovylle/old-react-native-version-on-arm64-devices-3lep</link>
      <guid>https://dev.to/jovylle/old-react-native-version-on-arm64-devices-3lep</guid>
      <description>&lt;p&gt;On Ubuntu Arm64&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvcy5nt2rkixiw8ocyq4.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvcy5nt2rkixiw8ocyq4.jpg" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;utm@utmjov:~/Foremost/AsDeveloper/Projects/reactnative0615$ npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 866 file(s) to forward-jetify. Using 2 workers...
info JS server already running.
x86_64-binfmt-P: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
info Launching emulator...
error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app...
:ReactNative:Unexpected empty result of running '[node, -e, console.log(require('react-native/cli').bin);]' command.
:ReactNative:Running '[node, -e, console.log(require('react-native/cli').bin);]' command failed.

FAILURE: Build failed with an exception.

* Where:
Script '/home/utm/Foremost/AsDeveloper/Projects/reactnative0615/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 170

* What went wrong:
A problem occurred evaluating script.
&amp;gt; internal/modules/cjs/loader.js:934  throw err;  ^Error: Cannot find module 'react-native/cli'Require stack:- /home/utm/.gradle/daemon/5.5/[eval]    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:931:15)    at Function.Module._load (internal/modules/cjs/loader.js:774:27)    at Module.require (internal/modules/cjs/loader.js:1003:19)    at require (internal/modules/cjs/helpers.js:107:18)    at [eval]:1:13    at Script.runInThisContext (vm.js:134:12)    at Object.runInThisContext (vm.js:310:38)    at internal/process/execution.js:81:19    at [eval]-wrapper:6:22    at evalScript (internal/process/execution.js:80:60) {  code: 'MODULE_NOT_FOUND',  requireStack: [ '/home/utm/.gradle/daemon/5.5/[eval]' ]}

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 461ms

error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
:ReactNative:Unexpected empty result of running '[node, -e, console.log(require('react-native/cli').bin);]' command.
:ReactNative:Running '[node, -e, console.log(require('react-native/cli').bin);]' command failed.

FAILURE: Build failed with an exception.

* Where:
Script '/home/utm/Foremost/AsDeveloper/Projects/reactnative0615/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 170

* What went wrong:
A problem occurred evaluating script.
&amp;gt; internal/modules/cjs/loader.js:934  throw err;  ^Error: Cannot find module 'react-native/cli'Require stack:- /home/utm/.gradle/daemon/5.5/[eval]    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:931:15)    at Function.Module._load (internal/modules/cjs/loader.js:774:27)    at Module.require (internal/modules/cjs/loader.js:1003:19)    at require (internal/modules/cjs/helpers.js:107:18)    at [eval]:1:13    at Script.runInThisContext (vm.js:134:12)    at Object.runInThisContext (vm.js:310:38)    at internal/process/execution.js:81:19    at [eval]-wrapper:6:22    at evalScript (internal/process/execution.js:80:60) {  code: 'MODULE_NOT_FOUND',  requireStack: [ '/home/utm/.gradle/daemon/5.5/[eval]' ]}

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 461ms

    at checkExecSyncError (child_process.js:790:11)
    at execFileSync (child_process.js:827:15)
    at runOnAllDevices (/home/utm/Foremost/AsDeveloper/Projects/reactnative0615/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:39)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and Mac M1 Arm64&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
:ReactNative:Unexpected empty result of running '[node, -e, console.log(require('react-native/cli').bin);]' command.
:ReactNative:Running '[node, -e, console.log(require('react-native/cli').bin);]' command failed.

FAILURE: Build failed with an exception.

* Where:
Script '/Users/jovyllebermudez/projectname/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 170

* What went wrong:
A problem occurred evaluating script.
&amp;gt; internal/modules/cjs/loader.js:934  throw err;  ^Error: Cannot find module 'react-native/cli'Require stack:- /Users/jovyllebermudez/.gradle/daemon/6.4.1/[eval]    
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdgokgh2deynvpc9sik41.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdgokgh2deynvpc9sik41.png" alt="Image description" width="800" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Currently can't find to make this work on this device, but for me to be able to continue is to &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;use another low end device and SSH it to my main workstation to run commands&lt;/li&gt;
&lt;li&gt;and mount or share folder it to my main workstation to open it in VScode to continue development&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
  </channel>
</rss>
