1

Apex is getting deployed but on coming to LWC VSCode is throwing error:

force-app\main\default\lwc\#######\#####.js-meta.xml  Failed to save Lightning Component Resource [lwc/#######\#####.js] of Lightning Component Bundle [#########]. Error: UNKNOWN_EXCEPTION         
force-app\main\default\lwc\#######\#####.js-meta.xml  Failed to save Lightning Component Resource [lwc/#######\#####.js-meta.xml] of Lightning Component Bundle [#########]. Error: UNKNOWN_EXCEPTION
force-app\main\default\lwc\#######\#####.js-meta.xml  Failed to save Lightning Component Resource [lwc/#######\#####.html] of Lightning Component Bundle [#########]. Error: UNKNOWN_EXCEPTION
2
  • As exception is UNKNOWN_EXCEPTION so we need to see the code what is wrong in that, so would you mind sharing the code as well. Oct 30 '20 at 7:03
  • 1
    Hey it got fixed.After sandbox refresh my profile was changed from sys admin.After getting back the profile it got deployed. Nov 4 '20 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.