Skip to content

upload-sourcemaps dosn't find files in a Symbolic linked dir #588

@puggan

Description

@puggan

in my project root, all published javascript end up in the folder public/build/

in the build folder there is a link src, pointing to ../../resources/assets/

in the build folder there is a map-file app.js.map

in the map file it have many sources, one is 'src/ts/footer.ts'.

The file public/build/src/ts/footer.ts exists.

When running sentry-cli releases <org,project> files <release> upload-sourcemaps --ext js --ext ts --ext map --validate --rewrite <path>/public/build/

I get the error:

  Source Maps
    ~/app.js.map
      - warning: missing sourcecode (src/ts/footer.ts)

(and many more)

And under Scripts there is neither js or ts files from the src folder.

Metadata

Metadata

Assignees

No one assigned
    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