Solve errors with nodejs port paths.
'use strict';
-if (require('../addon') === undefined) {
+if (require('./addon') === undefined) {
const path = require('path');
const fs = require('fs');
@@ -65,5 +65,5 @@ if (require('../addon') === undefined) {
module.exports = '${folders[0]}/lib';
`;
- fs.writeFileSync('../installPath.js', script);
+ fs.writeFileSync('./installPath.js', script);
}
