-
Notifications
You must be signed in to change notification settings - Fork 37
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
Cant resolve 'fs' #32
Comments
The issue is tied to the version of react-scripts you are using. v5 has an issue as it excludes support for some node features that were available in lower versions. Your quick fix is to take react scripts down to v4 until a fix for v5 you can run this command npm i react-scripts@4.0.3 |
Today only I happen to test this SDK Windows 10 64bit I keep on getting some or the other error already every one mentioned here.
Downgrading Node or react-scripts is not good as the world moves faster ahead. Can some help me running this SDK on latest Node, react-scripts, React/Next js ? Or can any one suggesst other solutions, especially I am intersted on |
Describe the bug
When I try importing CompreFace from "@exadel/compreface-js-sdk" it fails because fs can't be resolved in @exadel/compreface-js-sdk/endpoints
To Reproduce
My code is exactly same as in video down bellow, although I can't run it after importing CompreFace
Code example.
Expected behavior
Project running successfully without errors
Logs
Additional context
Everything should work as I have followed tutorial straight forward
The text was updated successfully, but these errors were encountered: