Skip to content

How to make this work in powershell? #366

Open
@steve02081504

Description

@steve02081504

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions