forcedotcom / lwc-dev-server-feedback

LWC Local Development
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

Completed Trailhead Module continues to throw errors in Local Dev Server even though it works in Dev Org #54

Open muel8192 opened 4 years ago

muel8192 commented 4 years ago

Describe the bug I completed the Trailhead module: https://trailhead.salesforce.com/content/learn/projects/lwc-build-flexible-apps after having previously completed this Trailmix: http://sforce.co/df19-devtrailmix

After completing the Bear Tracking App, it works as expected in my Dev Org, but throws errors and appears differently in the Local Development Server. I'm not sure if there is a difference between how the Local Dev Server works when creating a project with the npx command or running it from the VS Code commands, but in this case, I ran it from the VS Code commands. I had not created the project with the npx command.

To Reproduce

  1. Complete and pass this module: https://trailhead.salesforce.com/content/learn/projects/lwc-build-flexible-apps while running Local Development Server.
  2. Realize that even though you pass the Trailhead and things work in your Dev Org, they throw errors and don't appear correctly in the Local Dev Server.
  3. Close all programs.
  4. Reopen VS Code and verify you are in the folder that you completed the Bear app in.
  5. Authorize the org by running: sfdx force:auth:web:login -s -a bear-tracking
  6. Start the Local Development Server as instructed here: https://developer.salesforce.com/tools/vscode/en/lwc/localdev/ From VS Code’s command palette type in “local development,” then select SFDX: Start Local Development Server
  7. Observe differences.

Expected behavior Not to get errors in Local Server and components to appear the same way.

Screenshots Home Page In Org - Working As Expected (the magnifying glass does bring you to a bears details and clicking on a bear in the map or the map list does produce the bear coordinates) HomePageInOrg_WorkingAsExpected

Bear List - Displaying as expected in the LocalHost (the magnifying glass does not work here, as expected) BearListLocalHost

Bear Map - Error in LocalHost BearMapLocalHost

Bear Tile - Error in LocalHost BearTileLocalHost

Search For SA in Org - working as expected SearchForSAInOrg

Search For SA in LocalHost - Tiles not aligned properly SearchForSALocalDevelopment

Search For P in Org - Tiles are aligned as expected, but list of bears disappears from map SearchForPInOrg

Search For P in in LocalHost - Tiles not aligned properly SearchForPLocalDevelopment

Desktop (please complete the following information):

Smartphone (please complete the following information): Not Applicable

Additional context None

stale[bot] commented 4 years ago

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.