From 76835673d8ff82fc474fb18398b3581a946627af Mon Sep 17 00:00:00 2001 From: Tin Chi Lo Date: Thu, 24 Oct 2024 20:49:58 -0400 Subject: [PATCH] 3rd attempt at fixing iroh module eslint --- analyze.js | 7 +++++-- iroh_running_log.txt | 32 ++++++++++++++++---------------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/analyze.js b/analyze.js index 6f0e6ac515..a34d427788 100644 --- a/analyze.js +++ b/analyze.js @@ -1,9 +1,12 @@ 'use strict'; -const Iroh = require('iroh'); +// const Iroh = require('iroh'); +// const Iroh = require('./node_modules/iroh'); const fs = require('fs'); -const vm = require('vm'); const path = require('path'); +const vm = require('vm'); +const Iroh = require('./node_modules/iroh'); + console.log('Iroh is starting the analysis...'); diff --git a/iroh_running_log.txt b/iroh_running_log.txt index a3eff10d1e..d5572e9071 100644 --- a/iroh_running_log.txt +++ b/iroh_running_log.txt @@ -4,23 +4,23 @@ Iroh is starting the analysis... Entering function: main -2024-10-25T00:41:09.026Z [4567/72275] - info: NodeBB v3.8.4 Copyright (C) 2013-2024 NodeBB Inc. -2024-10-25T00:41:09.026Z [4567/72275] - info: This program comes with ABSOLUTELY NO WARRANTY. -2024-10-25T00:41:09.026Z [4567/72275] - info: This is free software, and you are welcome to redistribute it under certain conditions. -2024-10-25T00:41:09.026Z [4567/72275] - info: -2024-10-25T00:41:09.027Z [4567/72275] - info: Initializing NodeBB v3.8.4 http://localhost:4567 +2024-10-25T00:49:26.907Z [4567/72724] - info: NodeBB v3.8.4 Copyright (C) 2013-2024 NodeBB Inc. +2024-10-25T00:49:26.907Z [4567/72724] - info: This program comes with ABSOLUTELY NO WARRANTY. +2024-10-25T00:49:26.907Z [4567/72724] - info: This is free software, and you are welcome to redistribute it under certain conditions. +2024-10-25T00:49:26.907Z [4567/72724] - info: +2024-10-25T00:49:26.908Z [4567/72724] - info: Initializing NodeBB v3.8.4 http://localhost:4567 Iroh has finished the analysis. -2024-10-25T00:41:09.687Z [4567/72275] - info: [socket.io] Restricting access to origin: http://localhost:* -2024-10-25T00:41:09.779Z [4567/72275] - info: [api] Adding 0 route(s) to `api/v3/plugins` -2024-10-25T00:41:09.782Z [4567/72275] - info: [router] Routes added -2024-10-25T00:41:09.785Z [4567/72275] - info: 🎉 NodeBB Ready -2024-10-25T00:41:09.786Z [4567/72275] - info: 🤝 Enabling 'trust proxy' -2024-10-25T00:41:09.788Z [4567/72275] - info: 📡 NodeBB is now listening on: 0.0.0.0:4567 -2024-10-25T00:41:09.788Z [4567/72275] - info: 🔗 Canonical URL: http://localhost:4567 -2024-10-25T00:41:10.595Z [4567/72275] - info: [app] Shutdown (SIGTERM/SIGINT/SIGQUIT) Initialised. -2024-10-25T00:41:10.596Z [4567/72275] - info: [app] Web server closed to connections. -2024-10-25T00:41:10.597Z [4567/72275] - info: [app] Shutdown (SIGTERM/SIGINT/SIGQUIT) Initialised. -2024-10-25T00:41:10.597Z [4567/72275] - error: Error [ERR_SERVER_NOT_RUNNING]: Server is not running. +2024-10-25T00:49:27.554Z [4567/72724] - info: [socket.io] Restricting access to origin: http://localhost:* +2024-10-25T00:49:27.646Z [4567/72724] - info: [api] Adding 0 route(s) to `api/v3/plugins` +2024-10-25T00:49:27.648Z [4567/72724] - info: [router] Routes added +2024-10-25T00:49:27.652Z [4567/72724] - info: 🎉 NodeBB Ready +2024-10-25T00:49:27.652Z [4567/72724] - info: 🤝 Enabling 'trust proxy' +2024-10-25T00:49:27.655Z [4567/72724] - info: 📡 NodeBB is now listening on: 0.0.0.0:4567 +2024-10-25T00:49:27.655Z [4567/72724] - info: 🔗 Canonical URL: http://localhost:4567 +2024-10-25T00:49:38.116Z [4567/72724] - info: [app] Shutdown (SIGTERM/SIGINT/SIGQUIT) Initialised. +2024-10-25T00:49:38.117Z [4567/72724] - info: [app] Web server closed to connections. +2024-10-25T00:49:38.117Z [4567/72724] - info: [app] Shutdown (SIGTERM/SIGINT/SIGQUIT) Initialised. +2024-10-25T00:49:38.118Z [4567/72724] - error: Error [ERR_SERVER_NOT_RUNNING]: Server is not running. at Server.close (node:net:2316:12) at Object.onceWrapper (node:events:633:28) at Server.emit (node:events:531:35)