Skip to content

How to run it ? (+ ts-node version) #8

@raphaelbadia

Description

@raphaelbadia

Hello,

This project looks amazing, but I can't get it running 😅

I've cloned the repository, cd example/basic && npm i, added the latest ts-node version but I get ESMs errors :

/Users/raphael/code/openator/node_modules/ts-node/dist/index.js:851
            return old(m, filename);
                   ^
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/raphael/code/openator/examples/basic/node_modules/openator/dist/index.js from /Users/raphael/code/openator/examples/basic/index.ts not supported.

Also tried a lot of different runners like tsx, jiti, tried to make a new project... Nothing works for me !

Moreover there are some files that appears to be missing, for instance there's a makefile calling docker build but no Docker compose.

What ts-node version are you using please, maybe I have the wrong version (10.9.2) ?

Did I miss something ? I feel a bit stupid 😰

Thanks for your help !

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