Skip to content

Ts-node fails when using symlinks #396

Closed
@mtfranchetto

Description

@mtfranchetto

Hi,

I'm reporting here an issue I described here #391 (comment).
To reproduce the problem you can just use the frameworks we are developing.

git clone -b housekeeping git@github.com:tierratelematics/prettygoat.git
git clone -b 4.0.0-alignment git@github.com:tierratelematics/prettygoat-cassandra-store.git

You can download the sources from there and install deps on both projects. Then go to prettygoat-cassandra-store and npm link prettygoat. You can see that both tsc and ts-node are failing. Link also rxjs (the one in the prettygoat's node_modules) to the cassandra module and tsc now it's working.

The commands I'm using to test tsc/ts-node:
tsc --outDir build
ts-node scripts/prettygoat-cassandra-store.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions