Skip to content

Bundle.js not generated — static resource resolution fails on RS/10.0.46 #95

@iamjamesfrancis

Description

@iamjamesfrancis

We are encountering an issue where bundle.js is not being generated, causing the application to fail when resolving static resources.

Error observed:

[error] Error resolving static resource /00000-00000-00000-00000-00000/static/js/bundle.js of type JS. Is retry: false. Error: ENOENT: no such file or directory, stat 'C:\ECommerceSDK\Msdyn365.Commerce.Online\build\public\static\js\bundle.js'

The server starts, but the bundle.js file is missing from the build output, leading to runtime failures.

Environment

OS: Windows 10/Windows 11

Node version: v16.20.2

Branch: RS/10.0.46

Path: C:\ECommerceSDK\Msdyn365.Commerce.Online

Steps to Reproduce

Checkout branch RS/10.0.46

Install dependencies
yarn

Run build/dev server
yarn start

Go to this module
https://localhost:4000/modules?type=video-player

Open console
GET https://localhost:4000/00000-00000-00000-00000-00000/static/js/bundle.js net::ERR_ABORTED 404 (Not Found)

Because of this JavaScript functionality does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions