Cannot deploy LWCs ("No base file for markup")

1,068 views
Skip to first unread message

Andrew Xu

unread,
Apr 14, 2020, 8:19:10 AM4/14/20
to Illuminated Cloud General Discussion
Hello,

I am fairly new to Illuminated Cloud having switched over from Visual Studio and all has been great apart from one issue to do with LWCs.

Deploying everything else (Aura components, Apex classes) are fine but I always receive the following error when deploying on save for the HTML or CSS files inside Lightning Web Components.

Deployment Failed

ERROR deploying LightningComponentBundle lwc/componentName/componentName.js: No base file for markup://c:componentName

Interestingly, I can deploy on save in the JS file in the LWC, but this seems to have erased the contents of the HTML and CSS files, causing the component to disappear where it is used.

Help would be much appreciated!

Andrew

Scott Wells

unread,
Apr 14, 2020, 10:03:09 AM4/14/20
to Illuminated Cloud General Discussion
Hi, Andrew. Can you please enable debug logging for Metadata Deployment, reproduce the issue, and then send me the resulting idea.log file(s) using Help>Show Log in Explorer/Finder/Files? Note that in 2020.1, Debug Log Settings is now found under Help>Diagnostic Tools.

Regards,
Scott Wells

Andrew Xu

unread,
Apr 15, 2020, 7:07:31 AM4/15/20
to Illuminated Cloud General Discussion
Hi Scott,

Thanks for your extremely prompt reply yesterday.

I've followed your instructions and have attached the logs here. It seems like the relevant part is at the very bottom as it gives an error when I try to deploy the "ew_leaderboard" component.

Thanks a lot for helping me out!

Andrew
idea.log

Andrew Xu

unread,
Apr 16, 2020, 5:53:47 AM4/16/20
to Illuminated Cloud General Discussion
Hi Scott, thanks a lot for your reply (not sure why it is not showing up on this page!)

I'd realised I've installed "Illuminated Cloud" from the plugin marketplace, rather than "Illuminated Cloud 2", which is the newer version - so I uninstalled the old one and got the new one.

However I now seem to have come across another issue since the reinstall where I couldn't log in at all 😕 I could verify my credentials, but a popup appears saying that I haven't specified a username and password and that I should verify them again (so I get stuck in an endless loop of re-entering the credentials, screenshot attached).

Sorry for having a bunch of issues one after another but let me know if I have missed anything obvious!

Thanks a lot,

Andrew
Screen Shot 2020-04-16 at 10.44.25.png

Scott Wells

unread,
Apr 16, 2020, 10:43:03 AM4/16/20
to Illuminated Cloud General Discussion
Andrew, take a look at this thread and see whether it helps:


Hopefully you're just hitting the same issue and changing the storage for PasswordSafe to KeePass will resolve the issue for you. If not, please let me know.

Regards,
Scott Wells

Andrew Xu

unread,
Apr 20, 2020, 11:29:11 AM4/20/20
to Illuminated Cloud General Discussion
Hi Scott,

Sorry for the slow reply.

It seems that today the issue with the credentials has mysteriously fixed itself, and likewise with the issue in deploying LWCs.

Thanks for your help and I suppose the moral of the story is to upgrade your plugins! 😉

Andrew

Scott Wells

unread,
Apr 20, 2020, 11:30:59 AM4/20/20
to Illuminated Cloud General Discussion
Hah! Glad it's all good for you today. Yeah, please stay on the latest builds of both the plugin and the base IDE for the most part. I'm not saying there won't be issues, but at least that will make the debugging process easier.

Don't hesitate to let me know if these problems recur.

Best regards,
Scott Wells
Reply all
Reply to author
Forward
0 new messages