0

Error: value too long for field: source maximum length is:131072

Getting above error while deploying Lwc through VScode.

Little help would be great. Thanks

3
  • Can you share a bit about your source code? Like size of your source code? Commented Jan 23, 2022 at 17:45
  • 2
    You're limited to 131072 bytes per file. Split your code into multiple components/script files.
    – sfdcfox
    Commented Jan 23, 2022 at 17:46
  • Looks like this already has an answer. Your file size is too large. Try to break this further to avoid the error! Commented Jan 23, 2022 at 17:47

0