Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--require can't find local file #517

Closed
ValeryVS opened this issue Aug 10, 2020 · 2 comments
Closed

--require can't find local file #517

ValeryVS opened this issue Aug 10, 2020 · 2 comments

Comments

@ValeryVS
Copy link

Можно взять файл из пакета
--require ts-node/register

Но нельзя взять локальный файл
--require ./test-require/index.js

Error: Cannot find module './test-require/index.js'

В mocha аналогичная опция позволяет импортировать локальные файлы тоже
https://mochajs.org/#-require-module-r-module

@DudaGod
Copy link
Member

DudaGod commented Mar 15, 2021

Hello.

I will look at this problem.

@DudaGod
Copy link
Member

DudaGod commented Nov 2, 2023

Fixed here - #797

@DudaGod DudaGod closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants