We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Version: >24.0.0
Since version 24.0.0 it seems browser support no longer works and throws this error when trying to load with an in-memory file system:
It looks like this may have been introduced in #1549 here.
To Reproduce
Using a framework like Next.js and trying to load ts-morph on the client will produce the error above:
'use client' import { Project } from 'ts-morph' export default function Page() { const fileSystem = new Project({ useInMemoryFileSystem: true, }) return null }
Expected behavior
Similar to previous versions an in-memory file system should not error in browser environments.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Version: >24.0.0
Since version 24.0.0 it seems browser support no longer works and throws this error when trying to load with an in-memory file system:
It looks like this may have been introduced in #1549 here.
To Reproduce
Using a framework like Next.js and trying to load ts-morph on the client will produce the error above:
Expected behavior
Similar to previous versions an in-memory file system should not error in browser environments.
The text was updated successfully, but these errors were encountered: