diff --git a/Scripts/Install/MergeEnvTemplate.js b/Scripts/Install/MergeEnvTemplate.js index b03ef656d7..887400e98f 100644 --- a/Scripts/Install/MergeEnvTemplate.js +++ b/Scripts/Install/MergeEnvTemplate.js @@ -1,6 +1,6 @@ // This script merges config.env.tpl to config.env -import fs from 'fs'; +const fs = require('fs'); const init = () => { const tempate = fs.readFileSync('./config.example.env', 'utf8'); diff --git a/Scripts/Install/ReplaceValueInConfig.js b/Scripts/Install/ReplaceValueInConfig.js index 4256ad6a09..c3aef517e1 100644 --- a/Scripts/Install/ReplaceValueInConfig.js +++ b/Scripts/Install/ReplaceValueInConfig.js @@ -1,6 +1,6 @@ // This script merges config.env.tpl to config.env -import fs from 'fs'; +const fs = require('fs'); const init = () => { let env = '';