You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local dev failing with "unusual" components (e.g: css only component, multiple js files in the same component) #310
While trying to launch an Experience Site, I having multiple errors that prevent usage. Two examples so far are:
Components that are css only: the server launch fails with ServerError: An unexpected error occurred: "ENOENT: no such file or directory, open 'C:\Workspace\pbs\force-app\main\default\lwc\mycomponent\mycomponent.js'(Note: I can bypass this by adding an empty js file)
Components that have multiple js files and import elements from them (import { Builder } from './builder';): server launch fails with LWR Diagnostic Error: An unexpected error occurred: "ENOENT: no such file or directory, open 'C:\Workspace\pbs\force-app\main\default\lwc\mycomponent\builder'
Since I was not able to move past example 2, I can't say for sure, but I expect it might have problems with components that have multiple html templates too
Activity
SuperPluck commentedon Jan 8, 2025
Since I was not able to move past example 2, I can't say for sure, but I expect it might have problems with components that have multiple html templates too
git2gus commentedon Jan 10, 2025
This issue has been linked to a new work item: W-17579988