Closed lukethacoder closed 4 years ago
This issue has been automatically marked as type:bug-p3
because it has not had recent activity.
This issue has been linked to a new work item: W-7633761
Is this going to be fixed? @lukethacoder Do you found any workaround for this. I am also getting the same error.
Just checked further. It seems my sandbox is upgraded to newer release. I guess that has to do something with this issue. It seems to be related to https://github.com/forcedotcom/lwc-dev-server-feedback/issues/48 issue.
Local Dev Server: v1.0.10 Api Version: 49.0
It seems current version doesn't support v.49 yet.
Regards, Raj
Was thinking it was an issue with the API version. Bit of a pain that the new release versions don't work out of the box with the dev server.
Any timeline on when 49.0 will be supported?
Our team is also blocked by this issue.
sfdx update
and sfdx plugins:update
have not helped.
It seems like the automatic updating of sandboxes renders the dev server unusable. It's a shame that we can't opt out of updates to the sandbox or have the dev server up to date with those releases.
Any estimate for an update would be appreciated!
Doesn't seem like the prerelease version doesn't helpm either.
We have the same problem since last weekend. The preview works fine for the dev hub which API version is still 48.0. But not working for our sandbox which API version is 49.0.
We are also facing a similar issue. I tried updating the dev server version as well but no success. It seems to break changes in API 49.0. Have anyone got a workaround for this issue? I'll post as soon as I get it. Thanks
At the moment, to continue the work I have get back to API 48.0 which is working fine so let's wait until it gets compatible with newest version.
SFDX_API_VERSION=48.0 sfdx force:org:create ...
Also, I have to follow this steps to get back to work https://github.com/forcedotcom/lwc-dev-server-feedback/issues/47#issuecomment-574022181
I've got a workaround for resolving the issue. Installing 'lwc-dev-server' in the project repository worked for me.
npm i @salesforce/lwc-dev-server
PS: If you try to update the SFDX CLI for the solution, it will get reverted to the default at the time of authorization.
At the moment, to continue the work I have get back to API 48.0 which is working fine so let's wait until it gets compatible with newest version.
SFDX_API_VERSION=48.0 sfdx force:org:create ...
Also, I have to follow this steps to get back to work #47 (comment)
I tried do that sfdx force:config:set apiVersion=48.0
in my project and than ran those commands from that post but still getting an issue.
I've got a workaround for resolving the issue. Installing 'lwc-dev-server' in the project repository worked for me.
npm i @salesforce/lwc-dev-server
PS: If you try to update the SFDX CLI for the solution, it will get reverted to the default at the time of authorization.
This seems to work for me as well! I guess we will need to wait for a more permanent solution.
I've got a workaround for resolving the issue. Installing 'lwc-dev-server' in the project repository worked for me.
npm i @salesforce/lwc-dev-server
PS: If you try to update the SFDX CLI for the solution, it will get reverted to the default at the time of authorization.This seems to work for me as well! I guess we will need to wait for a more permanent solution.
Although Im getting a new error now
lds.getApexInvoker is not a function
Hi everyone, we're working now to get a fix for this out for those who are now on the next release.
I've got a workaround for resolving the issue. Installing 'lwc-dev-server' in the project repository worked for me.
npm i @salesforce/lwc-dev-server
PS: If you try to update the SFDX CLI for the solution, it will get reverted to the default at the time of authorization.This seems to work for me as well! I guess we will need to wait for a more permanent solution.
Although Im getting a new error now
lds.getApexInvoker is not a function
Same this seemed like it worked then it broke later down the call stack
@mysticflute Following up. Do you have an update on the resolution?
Hello everyone, Please update the plugin to 2.1.0 for the fix. Thanks all for your patience.
Confirmed that running sfdx update
does fix the issue.
thank you for the update!
Describe the bug Throws
Uncaught Error: Could not resolve entry (force/lds)
when attempting to load the localserver.To Reproduce Steps to reproduce the behavior:
sfdx force:lightning:lwc:start
Uncaught Error: Could not resolve entry (force/lds)
both in the browser console (see screenshot) and in the terminal (see code below)The
rollup unresolved dependencies
just look like warnings to me, and not too concerned if the wrappers around the local server aren't loading in.Expected behavior LWC to render in the browser.
Screenshots & Code Snippets
Desktop:
Additional context
Is 49.0 supported by lwc-dev-server yet?