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

Resolved Compatabilities of assert keyword with node latest version #160

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sheshadriN
Copy link

the below is the error while using assert keyword with node:latest

Screenshot from 2024-05-13 21-13-06

#148 @wajeshubham The keyword "assert" is used while importing json files , which is only compatible with older versions of node like 18. Newer versions use the keyword "with", in order to assert the type of the file imported.

So I used "with" keyword while importing json files, which works well with newer versions of node.

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

Successfully merging this pull request may close these issues.

None yet

1 participant