specfic npm package not working in node.js? issue: perl rules/compile-rules.pl 'perl' is not recognized as an internal or external command

Viewed 48

this is the package i have installed the package using the npm install command and then made sure my package.json has type: module for the import to work,in my code I have included

on their website it says they have a runtime compilation rule but I am not sure what they mean by that or what I have to do to get this package working on visual studio code ide with node.js

in my code I have included :

// hithere.js
import { scin, snSave } from "scen";
console.log("hi")   

however I get this error after running node hithere.js in my terminal

rojects\\node_modules\\scigen\\lib\\index.js'←[39m
  ]
}
1 Answers

You need to install perl in your system and then add it to your config path.

Related