Closed freddydumont closed 4 years ago
May not be related but I'm getting a number of similar errors trying to use this in a React Native project.
The phone environment doesn't have many native Node modules available like fs
or path
which as far as I can tell are only used to read OpenAPI spec files from disk. It'd be good to somehow conditionally load those only if opts.definition
is a file path.
Would love to use this project on a react native app but i'm getting a similar error 😢
I'm getting a
Module not found: Can't resolve 'fs'
when starting the dev server. It appears thatjson-schema-deref-sync
is the culprit and it's a dependency of this library.I'm not really sure what's going on. Any ideas?