From 3f4eeea35bf66c174fac913ee04e2320faf8e931 Mon Sep 17 00:00:00 2001 From: Aaron Gundel Date: Wed, 27 Dec 2023 10:16:38 -0700 Subject: [PATCH] test environment modification --- .../webpack/webpack.common.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arches_rdm_example_project/webpack/webpack.common.js b/arches_rdm_example_project/webpack/webpack.common.js index f8774d7..e1e221c 100644 --- a/arches_rdm_example_project/webpack/webpack.common.js +++ b/arches_rdm_example_project/webpack/webpack.common.js @@ -444,20 +444,20 @@ module.exports = () => { }; let projectSettings = spawn( - 'python', + '/opt/ENV/bin/python', [Path.resolve(__dirname, Path.parse(__dirname)['dir'], 'settings.py')] ); projectSettings.stderr.on("data", process.stderr.write); projectSettings.stdout.on("data", createWebpackConfig); - projectSettings.on('error', () => { - projectSettings = spawn( - 'python3', - [Path.resolve(__dirname, Path.parse(__dirname)['dir'], 'settings.py')] - ); - projectSettings.stderr.on("data", process.stderr.write); - projectSettings.stdout.on("data", createWebpackConfig); - }); + // projectSettings.on('error', () => { + // projectSettings = spawn( + // 'python3', + // [Path.resolve(__dirname, Path.parse(__dirname)['dir'], 'settings.py')] + // ); + // projectSettings.stderr.on("data", process.stderr.write); + // projectSettings.stdout.on("data", createWebpackConfig); + // }); }); };