• Edna Brown
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hello everyone, 

I have to try to call the lwc component in nodeJS, i am getting the 404: Could not find module entry with specifier "@lwrjs/app-service/Home/module/esm" exception , 
    at async LwrViewRegistry.renderView (file:///C:/Users/vijen/OneDrive/Desktop/Demo/LWRNodeServer/StaticSite/node_modules/@lwrjs/view-registry/build/es/index.js:220:33)
LWR Diagnostic Error: 404: Could not find module entry with specifier "@lwrjs/app-service/Home/module/esm"

[
  {
    description: {
      category: 'lwrUnresolvable/module',
      advice: [],
      message: '404: Could not find module entry with specifier "@lwrjs/app-service/Home/module/esm"'
    }
  }
]
DiagnosticsError: 404: Could not find module entry with specifier "@lwrjs/app-service/Home/module/esm"

Support blog and video 
https://developer.salesforce.com/docs/platform/lwr/guide/lwr-get-started.html
https://www.youtube.com/watch?v=V6BdUSOtU2c&t=1330s 

Code  lwc : <c-counter></c-counter> --> called in help.html
Then i am getting below error.

 
Hello guys!

I've been struggling with a validation rule. There is a field called "Birthday" where the user populates his/her birthday. When the user populates this field, then it has to allow only ages higher than 17 years old.

For example:
User's birthday: 02/02/2005
Today's date: 15/05/2019
So it means that the user's age is bellow 18, hence it is not accepted. 

How can I do it? I've made it doing the following code, but it didn't work as I wanted:
(TODAY() - DadosPF_DataNascimento__c < 18*365)

I did other things, but there were incorret datas that were allowed instead of being denied. Could you guys please help me?