Skip to content

CSU/CPOS: Broken source maps #310

@Mano-lemm

Description

@Mano-lemm

Debugging Issue

Summary

After deploying a CSU and CPOS for development on a devbox the CPOS fails to load the sourcemaps for typescript written in the extension project.

Commerce SDK Version: 9.50.24191.3

Visual Studio/Visual Studio Code:

Visual Studio 2022 toolchain
I do not use Visual studio code as it is unable to consistently build the project

Reproducing the Issue

  • Install the sample CSU at https://github.com/microsoft/Dynamics365Commerce.ScaleUnit/tree/release/9.50 to a location on the K drive.
  • Log into the Cloud POS associated with that CSU
  • Open the developer console
  • Open the sources tab
  • Open the NavigateToExampleViewCommand.js file
  • At the bottom of the file it will state that it could not find the source mapping and the source mapping URL will be a path to the .js.map file on the K drive

Screenshots

The extension is installed via the install script provided in the sample project and either done via a simple script or invoked from vscode.
image

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