Skip to content

Extra Slash in sourcemap path on Ubuntu 16.04 (with jake) #11111

Closed
@aozgaa

Description

@aozgaa

TypeScript Version: master -- commit 95c3ecc

Operating System: Ubuntu Linux 16.04

There is an extra slash at the beginning of the path to the source files referenced in the built *.js.map files. After removing the extra slash (using find-replace across all said files), source maps appear to work.

To reproduce, build with jake local.

Expected behavior:

In built/local/tsserver.js, we expect

file:///home/path/to/TypeScript/src/compiler/types.ts

(source-maps work with this change)

Actual behavior:
In built/local/tsserver.js, we get

file:////home/path/to/TypeScript/src/compiler/types.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssue relates to TypeScript team infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions