Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Errors on require("raml-1-parser"); #817

Open
kingbe01 opened this issue Apr 3, 2018 · 1 comment
Open

Errors on require("raml-1-parser"); #817

kingbe01 opened this issue Apr 3, 2018 · 1 comment

Comments

@kingbe01
Copy link

kingbe01 commented Apr 3, 2018

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.

  1. /ts-structure-parser/dist/helperMethodExtractor.js
    Module not found: Error: Can't resolve 'fs

  2. /~/ts-structure-parser/dist/fsUtils.js
    Module not found: Error: Can't resolve 'fs'

Am I missing something or is this a known issue.

@postatum
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants