Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save carlosdelfino/7f83c7542839f166758f8c7eb0250398 to your computer and use it in GitHub Desktop.
Save carlosdelfino/7f83c7542839f166758f8c7eb0250398 to your computer and use it in GitHub Desktop.
Starting SFDX: Preview Component Locally
16:53:11.704 sfdx force:lightning:lwc:preview -p Android -t Nexus_5X_API_30 -n c/selector -a browser -d /home/carlosdelfino/workspace/salesforce/bikeCard --loglevel warn
(node:18895) Warning: Deprecated environment variable: SFDX_JSON_TO_STDOUT. Please use SF_JSON_TO_STDOUT instead.
(Use `node --trace-warnings ...` to show where the warning was created)
❯ Requirements
❯ Checking SDK root location
❯ Checking Android SDK Prerequisites
❯ Checking Android Command Line Tools
❯ Checking SDK Platform Tools
❯ Checking SDK Platform API
❯ Checking SDK Platform Emulator Images
› SDK root location is set to ANDROID_HOME: /opt/android/sdk/
✔ PASSED: Checking SDK root location (0.000 sec)
› Android Platform tools were detected at /opt/android/sdk/platform-tools.
✔ PASSED: Checking SDK Platform Tools (0.149 sec)
› Android SDK prerequisites are met.
✔ PASSED: Checking Android SDK Prerequisites (0.410 sec)
› Android command line tools were detected at /opt/android/sdk/cmdline-tools/latest/bin
✔ PASSED: Checking Android Command Line Tools (2.413 sec)
› android-33 API package was detected.
✔ PASSED: Checking SDK Platform API (2.631 sec)
› Android emulator image (android-33;google_apis;x86_64) was detected.
✔ PASSED: Checking SDK Platform Emulator Images (6.631 sec)
✔ Requirements (12.234 sec)
Start Preview... searching for device Nexus_5X_API_30
found device Nexus_5X_API_30...
starting device Nexus_5X_API_30...
navigating mobile browser to http://10.0.2.2:3333/lwc/preview/c/selector...
Launch Browser... Opening browser with url http://10.0.2.2:3333/lwc/preview/c/selector
16:53:28.12 sfdx force:lightning:lwc:preview -p Android -t Nexus_5X_API_30 -n c/selector -a browser -d /home/carlosdelfino/workspace/salesforce/bikeCard --loglevel warn
ended with exit code 0
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/bootstrap/53d3e1d00d/dev/en-US/@webruntime/app.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/component/666dd2d30f/dev/en-US/localdevserver/preview.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/4c39d06000/dev/en-US/c/selector.js...
LWRPLUGIN_ERROR: Invalid directive "$lwc:if" on element <template>.
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/dev/en-US/c/detail.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/b7be163184/dev/en-US/c/list.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/c77c43a918/dev/en-US/c/data.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/5982b076df/dev/en-US/c/tile.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/bootstrap/0bc0367542/dev/en-US/@webruntime/app.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/component/f16c5479e9/dev/en-US/localdevserver/home.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/bootstrap/53d3e1d00d/dev/en-US/@webruntime/app.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/component/666dd2d30f/dev/en-US/localdevserver/preview.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/4c39d06000/dev/en-US/c/selector.js...
LWRPLUGIN_ERROR: Invalid directive "$lwc:if" on element <template>.
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/dev/en-US/c/detail.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/b7be163184/dev/en-US/c/list.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/c77c43a918/dev/en-US/c/data.js...
LWR6001: Writing /home/carlosdelfino/workspace/salesforce/bikeCard/.localdevserver/webruntime/custom-component/5982b076df/dev/en-US/c/tile.js...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment