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

TypeError: Module needs an import assertion of type "json". #2

Open
xBuddhaSupreme opened this issue May 24, 2022 · 1 comment
Open

Comments

@xBuddhaSupreme
Copy link

Thank you for your hard work guys; I see you are serious professionals so I appreciate your time. I am working on my project and your OpenSource code seems to be the best out there, but I am having trouble moving forward. When running "anchor test --skip-deploy --provider.cluster devnet --provider.wallet " I get the error at bottom. I'm not sure if I am putting this command in wrong or what. There seems to me an issue with import TransmuterError. In the test files there is a uTranmuterError. But any help would be greatly appreciated. I have messaged on Twitter, but also my discord is xBuddhaSupreme#9448 if that works better. Also pls invite if you have a Discord as I'd like to be a part of your dev community. Much luv.

TypeError: Module "file:///mnt/c/users/user/desktop/transmuter-main/tsconfig.json" needs an import assertion of type "json"

@wooddyy-sol
Copy link

for anyone else running into this issue.

run the following command before running tests.

yarn add ts-mocha

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