• Sunil Gupta 93
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
We are getting below error while runing local enviornment.

comand for local enviornment:
sfdx force:lightning:lwc:start

Error:
[0] [rollup] 'lightning/breadcrumbs' is imported by C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@salesforce\lwc-dev-server\modules\localdevserver\preview\preview.html, but could not be resolved – treating it as an external dependency
[0] [rollup] 'lightning/breadcrumb' is imported by C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@salesforce\lwc-dev-server\modules\localdevserver\preview\preview.html, but could not be resolved
– treating it as an external dependency
[0] [rollup] 'lightning/spinner' is imported by C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@salesforce\lwc-dev-server\modules\localdevserver\preview\preview.html, but could not be resolved – treating it as an external dependency
[view__preview.js] Done in 74090 ms
Writing d:\Users\<USER_FOLDER_NAME />>\Documents\GitHub\blocx-dev-lwc-v1.0.0-r1\.localdevserver/public/webruntime/view/8317de4485/dev/en_US/preview.js...
[view__mainLayout.js] Done in 202 ms
Writing d:\Users\<USER_FOLDER_NAME />>\Documents\GitHub\blocx-dev-lwc-v1.0.0-r1\.localdevserver/public/webruntime/view/67133358b1/dev/en_US/mainLayout.js...
[lds] Done in 789 ms
Error: Error compiling force/lds
    at Proxy.compile (C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@webruntime\compiler\dist\commonjs\compiler\compiler.js:231:15)
Caused by: Error: Could not resolve entry (force/lds)
    at error (C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\rollup\dist\rollup.js:3460:30)
    at C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\rollup\dist\rollup.js:21359:17
[0] [rollup] 'lightning/verticalNavigationSection' is imported by C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@salesforce\lwc-dev-server\modules\localdevserver\componentsPanel\componentsPanel.html, but could not be resolved – treating it as an external dependency
[0] [rollup] 'lightning/verticalNavigationItemIcon' is imported by C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@salesforce\lwc-dev-server\modules\localdevserver\componentsPanel\componentsPanel.html, but could not be resolved – treating it as an external dependency
[0] [rollup] 'lightning/icon' is imported by C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@salesforce\lwc-dev-server\modules\localdevserver\resourcesPanel\resourcesPanel.html, but could not be resolved – treating it as an external dependency
[0] [rollup] 'lightning/verticalNavigation' is imported by C:\Users\<USER_FOLDER_NAME />>\AppData\Local\sfdx\node_modules\@salesforce\lwc-dev-server\modules\localdevserver\componentsPanel\componentsPanel.html, but could not be resolved – treating it as an external dependency
[view__home.js] Done in 612 ms
Writing d:\Users\<USER_FOLDER_NAME />>\Documents\GitHub\blocx-dev-lwc-v1.0.0-r1\.localdevserver/public/webruntime/view/eaf2cb0c78/dev/en_US/home.js...
How can we utilized the SASS (preprocessor) in out lightning web components.
How can we utilized the SASS (preprocessor) in out lightning web components.