Open loynoir opened 1 year ago
Thanks for filing a report. I'd love to take a look at this but I'm not sure how I can reproduce this error on my end. Do you have a repository you can share where we can run the given command deno run -A npm:yo webapp
to reproduce the error?
@marvinhagemeister
I believe
$ deno run -A npm:yo webapp
is a very neat equivalent, compared to node
$ npm install --global yo generator-webapp
$ yo webapp
And yeoman
generate project scaffold.
So, should run command within any empty directory.
Thank you for providing the steps to reproduce this issue. I can see the error on my machine now.
Can confirm that the issue is that deno doesn't shim the module.parent
property. For reference: Node's documentation has a little passage on how it's supposed to work: https://nodejs.org/api/modules.html#moduleparent .
Keyword
yeoman generator
CJS
module.parent.filename
Version
Reproduce