Skip to content

Assets path issue #389

Open
Open

Description

@ValeryNomenjanahary

I am testing the new local dev for single component preview but I'm stuck with the following issue

Image

I tried to add manually the asset folder for testing purpose but it didn't change nothing

sf version: @salesforce/cli/2.85.7 win32-x64 node-v22.15.0
plugin-lightning-dev version: 3.2.9

Activity

  1. ValeryNomenjanahary commented on May 13, 2025

    @ValeryNomenjanahary
    Author

    Someone can help please? Still encoutouring the issue with lightning dev component

  2. ValeryNomenjanahary commented on May 15, 2025

    @ValeryNomenjanahary
    Author

    Still encoutouring the issue with 3.2.10 version. Very surprised that this is not corrected quickly.

    Image

  3. mholowinski commented on May 16, 2025

    @mholowinski

    Running into the same issue:

    [error] 404: Could not find asset at "%5Cassets%5Cslds%5Cstyles%5Csalesforce-lightning-design-system.min.css" LwrUnresolvableError: 404: Could not find asset at "%5Cassets%5Cslds%5Cstyles%5Csalesforce-lightning-design-system.min.css" at LwrAssetRegistry.delegateGetAsset (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/asset-registry/build/es/index.js:27:15) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async LwrAssetRegistry.getAsset (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/asset-registry/build/es/index.js:42:26) at async LwrAssetRegistry.resolveAssetUri (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/asset-registry/build/es/index.js:164:26) at async file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/core/build/es/middleware/asset-middleware.js:41:30 at async file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/core/build/es/middleware/utils/error-handling.js:56:13 at async file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/server/build/es/express/express-server.js:58:13 { type: 'asset' } [error] LWR Unhandled Promise Rejection: 404: Could not find module entry with specifier "lightning/card" LwrUnresolvableError: 404: Could not find module entry with specifier "lightning/card" at LwrModuleRegistry.delegateGetModuleEntryOnServices (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/module-registry/build/es/index.js:259:15) at async resolveExternalImport (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/module-registry/build/es/module-record.js:39:35) at async getModuleRecord (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/module-registry/build/es/module-record.js:81:44) at async LwrModuleRegistry.createModuleDefinition (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/module-registry/build/es/index.js:133:30) at async file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/module-registry/build/es/index.js:124:31 at async LwrModuleRegistry.getLinkedModule (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/module-registry/build/es/index.js:164:27) at async LwrApplicationObserver.<anonymous> (file:///C:/Users/HARDPC/AppData/Local/sf/node_modules/@salesforce/plugin-lightning-dev/node_modules/@lwrjs/module-registry/build/es type: 'module' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions