Skip to content

How to make this work in powershell? #366

Open

Description

I tried to create a PowerShell module to run JS in PowerShell.
Image

However, in reality, not only can I not call it normally after loading the module, but I also cannot use Node.js normally.

Before loading the module, Node.js runs well in my shell:
Image
Loading the module and trying to run a simple script results in an error:
Image
Subsequently, both the Node.js command and the JS code running function of the esh cannot be used normally:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions