raml-js-parser-2
raml-js-parser-2 copied to clipboard
Errors on require("raml-1-parser");
I have searched high and low for anyone else experiencing this issue and cannot find a solution. In Angular 4 with Webpack 2 anytime I add var raml = require("raml-1-parser"); I instantly get the following errors.
-
/ts-structure-parser/dist/helperMethodExtractor.js Module not found: Error: Can't resolve 'fs
-
/~/ts-structure-parser/dist/fsUtils.js Module not found: Error: Can't resolve 'fs'
Am I missing something or is this a known issue.
Note that raml-js-parser-2 has been deprecated, the new official parser is webapi-parser. Feel free to attempt to reproduce this issue with webapi-parser and report any issue you may have on that repository.