jakiestfu / stability-ts

DreamStudio Client written in TypeScript
156 stars 33 forks source link

Process.cwd is not a function #12

Open Sriajapro opened 1 year ago

Sriajapro commented 1 year ago

Hi @jakiestfu , while trying to install the package into our application. I'm getting an error saying "process.cwd is not a function" at the generate function of the code. Please let me know why the issue might have occurred and what would be the resolution.

The following code snippet is how I added into ts file: code2github

Error message: Error

jakiestfu commented 1 year ago

Are you sure to be running this in node and not in the browser?

Sriajapro commented 1 year ago

@jakiestfu We are using it in angular application ts file and it's not running on node.