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

NX custom executor doesn't work well with tsConfig #9550

Closed
MarufSharifi opened this issue Mar 27, 2022 · 2 comments
Closed

NX custom executor doesn't work well with tsConfig #9550

MarufSharifi opened this issue Mar 27, 2022 · 2 comments

Comments

@MarufSharifi
Copy link

Current Behavior

I created new custom executor to run my cucumber tests, but when I run my test it shows me this error

error TS2307: Cannot find module '@my/lib' or its corresponding type declarations.

@my/lib is my local lib and i have it's path in my tsconfig file

it works fine with all my apps and all other files, but when run Cucumber test from inside of my executor it doesn't work,

Expected Behavior

I need to use from my local lib data inside of my test file, how can i do that?

@AgentEnder
Copy link
Member

@MarufSharifi I'm going to close this one out now, the advice given on cucumber/cucumber-js#1139 and the community slack should have answered this, but at the end of the day the behavior noted is an issue with how cucumber works, not Nx.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants