forcedotcom / lwc-dev-server-feedback

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

Local dev server throws error while loading messageChannel #79

Closed sandeep-chilakala closed 4 years ago

sandeep-chilakala commented 4 years ago

Describe the bug I have created a message channel and referring to the LWC component.

when I try to load the component I am getting the below error message.

Error loading http://localhost:3333/webruntime/component/latest/dev/en-US/@salesforce/messageChannel/MessageChannel-Name from http://localhost:3333/webruntime/custom-component/latest/dev/en-US/c/Component-Name

To Reproduce Steps to reproduce the behavior:

  1. Create a message channel.
  2. Import message channel in LWC Component.
  3. Open LWC Component in Local dev server.
  4. Server throws an error

Expected behavior Component should load

Desktop (please complete the following information):

msrivastav13 commented 4 years ago

Lightning Message Service (LMS) module is not supported at this point. Refer to the lwc docs to see which modules are supported and which ones are not!

Thank you