Skip to content

Commit

Permalink
3rd attempt at fixing iroh module eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tin Chi Lo committed Oct 25, 2024
1 parent da9189f commit 7683567
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
7 changes: 5 additions & 2 deletions analyze.js
Original file line number Diff line number Diff line change
@@ -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');

Check failure on line 8 in analyze.js

View workflow job for this annotation

GitHub Actions / test

Unable to resolve path to module './node_modules/iroh'

Check failure on line 8 in analyze.js

View workflow job for this annotation

GitHub Actions / test

Missing file extension for "./node_modules/iroh"


console.log('Iroh is starting the analysis...');

Expand Down
32 changes: 16 additions & 16 deletions iroh_running_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7683567

Please sign in to comment.