diff --git a/npm/index.js b/npm/index.js index 5862f9ac..e87b9d10 100644 --- a/npm/index.js +++ b/npm/index.js @@ -8,7 +8,7 @@ const fs = require('fs'); let importArgs = [] -const nm = path.join(__dirname, "node_modules") +const nm = path.join("./", "node_modules") if (fs.existsSync(nm) && fs.lstatSync(nm).isDirectory()) { importArgs = ["-m", "node_modules"] }