https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN
https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN/blob/master/docs/installationguide.md
chiya@ujimatsu:~$ cd LoRaWorks/
chiya@ujimatsu:~/LoRaWorks$ git clone [email protected]:Atos-Research-and-Innovation/IoTagent-LoRaWAN.git
Cloning into 'IoTagent-LoRaWAN'...
The authenticity of host 'github.com (20.27.177.113)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,20.27.177.113' (ECDSA) to the list of known hosts.
remote: Enumerating objects: 3070, done.
remote: Counting objects: 100% (377/377), done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 3070 (delta 326), reused 266 (delta 262), pack-reused 2693
Receiving objects: 100% (3070/3070), 12.58 MiB | 7.03 MiB/s, done.
Resolving deltas: 100% (1846/1846), done.
chiya@ujimatsu:~/LoRaWorks$ npm install
npm WARN saveError ENOENT: no such file or directory, open '/home/chiya/LoRaWorks/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/chiya/LoRaWorks/package.json'
npm WARN LoRaWorks No description
npm WARN LoRaWorks No repository field.
npm WARN LoRaWorks No README data
npm WARN LoRaWorks No license field.
up to date in 0.393s
found 0 vulnerabilities
╭───────────────────────────────────────────────────────────────╮
│ │
│ New major version of npm available! 6.14.4 → 9.6.5 │
│ Changelog: https://github.com/npm/cli/releases/tag/v9.6.5 │
│ Run npm install -g npm to update! │
│ │
╰───────────────────────────────────────────────────────────────╯
chiya@ujimatsu:~/LoRaWorks$ npm install -g npm
npm WARN checkPermissions Missing write access to /usr/local/lib
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.17.0 || ^16.13.0 || >=18.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access \'/usr/local/lib\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/chiya/.npm/_logs/2023-05-06T06_21_24_859Z-debug.log
chiya@ujimatsu:~/LoRaWorks$ sudo npm install -g npm
[sudo] password for chiya:
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.17.0 || ^16.13.0 || >=18.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
+ [email protected]
added 263 packages from 114 contributors in 4.336s
chiya@ujimatsu:~/LoRaWorks$ cd IoTagent-LoRaWAN/
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ ls
bin CONTRIBUTING.md docker examples LICENSE README.md
CHANGELOG.md ContributionPolicy.txt docs issues mkdocs.yml test
config.js CREDITS entity-cla_IoTAgent-Atos.pdf lib package.json
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ node bin/iotagent-lora
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'iotagent-node-lib'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/lib/iotagent-lora.js:25:21)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ git tag
FIWARE_7.5
FIWARE_7.5.1
FIWARE_7.6
FIWARE_7.7
FIWARE_7.7.1
FIWARE_8.1
v0.1.0
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ git checkout refs/tags/v1.2.5
Note: switching to 'refs/tags/v1.2.5'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 6f4a5b4 prepare for 1.2.5 release (#161)
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ node bin/iotagent-lora
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'iotagent-node-lib'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/lib/iotagent-lora.js:25:21)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ node ./bin/iotagent-lora
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'iotagent-node-lib'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/lib/iotagent-lora.js:25:21)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ ls ./bin/iot*
./bin/iotagent-lora
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm install
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm ERR! code EINTEGRITY
npm ERR! sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== integrity checksum failed when using sha512: wanted sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== integrity checksum failed when using sha512: wanted sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== integrity checksum failed when using sha512: wanted sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm ERR! code EINTEGRITY
npm ERR! sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== integrity checksum failed when using sha512: wanted sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2"
npm ERR! code EINTEGRITY
npm ERR! sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== integrity checksum failed when using sha512: wanted sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== integrity checksum failed when using sha512: wanted sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== integrity checksum failed when using sha512: wanted sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== integrity checksum failed when using sha512: wanted sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== integrity checksum failed when using sha512: wanted sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== integrity checksum failed when using sha512: wanted sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== integrity checksum failed when using sha512: wanted sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm WARN deprecated [email protected]: Use String.prototype.trim() instead
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm ERR! code EINTEGRITY
npm ERR! sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== integrity checksum failed when using sha512: wanted sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== integrity checksum failed when using sha512: wanted sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== integrity checksum failed when using sha512: wanted sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm WARN deprecated @types/[email protected]: This is a stub types definition. bson provides its own type definitions, so you do not need this installed.
npm WARN deprecated [email protected]: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config
npm ERR! code EINTEGRITY
npm ERR! sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== integrity checksum failed when using sha512: wanted sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm ERR! code EINTEGRITY
npm ERR! sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== integrity checksum failed when using sha512: wanted sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
> [email protected] preinstall /home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)
> [email protected] install /home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/husky
> node husky install
husky > Setting up git hooks
husky > Done
> [email protected] postinstall /home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/husky
> opencollective-postinstall || exit 0
Thank you for using husky!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/husky/donate
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">= 12.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
added 986 packages from 906 contributors and audited 989 packages in 36.591s
192 packages are looking for funding
run `npm fund` for details
found 13 vulnerabilities (1 low, 3 moderate, 8 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
npm ERR! Callback called more than once.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/chiya/.npm/_logs/2023-05-06T06_26_11_578Z-debug.log
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm outdated
Package Current Wanted Latest Location
@semantic-release/changelog 3.0.6 3.0.6 6.0.3 iotagent-lora
@semantic-release/git 7.0.18 7.0.18 10.0.1 iotagent-lora
async 2.6.4 2.6.4 3.2.4 iotagent-lora
eslint 7.5.0 7.5.0 8.40.0 iotagent-lora
eslint-config-tamia 7.2.7 7.2.7 8.0.1 iotagent-lora
eslint-plugin-mocha 8.2.0 8.2.0 10.1.0 iotagent-lora
eslint-plugin-prettier 3.1.4 3.1.4 4.2.1 iotagent-lora
husky 4.2.5 4.2.5 8.0.3 iotagent-lora
iotagent-node-lib 2.26.0 2.26.0 3.1.0 iotagent-lora
lint-staged 10.2.13 10.2.13 13.2.2 iotagent-lora
mocha 8.0.1 8.0.1 10.2.0 iotagent-lora
nock 13.0.3 13.0.3 13.3.1 iotagent-lora
prettier 2.0.5 2.0.5 2.8.8 iotagent-lora
remark-cli 8.0.1 8.0.1 11.0.0 iotagent-lora
remark-preset-lint-recommended 4.0.1 4.0.1 6.1.2 iotagent-lora
sinon 9.0.3 9.0.3 15.0.4 iotagent-lora
textlint 11.7.7 11.7.7 13.3.2 iotagent-lora
textlint-rule-terminology 2.1.6 2.1.6 3.0.4 iotagent-lora
textlint-rule-write-good 1.6.2 1.6.2 2.0.0 iotagent-lora
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm audit
=== npm audit security report ===
# Run npm install --save-dev [email protected] to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Prototype Pollution in Ajv │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ajv │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ textlint [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ textlint > @textlint/linter-formatter > table > ajv │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-v88g-cgmw-v5xw │
└───────────────┴──────────────────────────────────────────────────────────────┘
# Run npm install --save-dev [email protected] to resolve 2 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low │ Regular expression denial of service in semver-regex │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ semver-regex │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ husky [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ husky > find-versions > semver-regex │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-4x5v-gmq8-25ch │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Regular Expression Denial of Service (ReDOS) │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ semver-regex │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ husky [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ husky > find-versions > semver-regex │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-44c6-4v22-4mhx │
└───────────────┴──────────────────────────────────────────────────────────────┘
# Run npm install --save-dev [email protected] to resolve 3 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Critical │ flat vulnerable to Prototype Pollution │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ flat │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mocha [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ mocha > yargs-unparser > flat │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-2j2x-2gpw-g8fm │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ minimatch ReDoS vulnerability │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ minimatch │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mocha [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ mocha > minimatch │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-f8q6-p94x-37v3 │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Insecure serialization leading to RCE in │
│ │ serialize-javascript │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ serialize-javascript │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mocha [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ mocha > serialize-javascript │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-hxcc-f52p-wc94 │
└───────────────┴──────────────────────────────────────────────────────────────┘
# Run npm update minimatch --depth 3 to resolve 1 vulnerability
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ minimatch ReDoS vulnerability │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ minimatch │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mocha [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ mocha > glob > minimatch │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-f8q6-p94x-37v3 │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Regular Expression Denial of Service in trim │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ trim │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.0.3 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ remark-cli [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ remark-cli > remark > remark-parse > trim │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-w5p7-h5w8-2hfq │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Regular Expression Denial of Service in trim │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ trim │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.0.3 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ textlint [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ textlint > @textlint/textlint-plugin-markdown > │
│ │ @textlint/markdown-to-ast > remark-parse > trim │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-w5p7-h5w8-2hfq │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Prototype Pollution in merge │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ merge │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=2.1.1 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ watch [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ watch > exec-sh > merge │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-7wpw-2hjm-89gp │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ automattic/mongoose vulnerable to Prototype pollution via │
│ │ Schema.path │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ mongoose │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=5.13.15 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ iotagent-node-lib │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ iotagent-node-lib > mongoose │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-f825-f98c-gj3g │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Server-Side Request Forgery in Request │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ request │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ No patch available │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ request │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ request │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-p8p7-x288-28g6 │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Server-Side Request Forgery in Request │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ request │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ No patch available │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ coveralls │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ coveralls > request │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-p8p7-x288-28g6 │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 13 vulnerabilities (1 low, 3 moderate, 8 high, 1 critical) in 989 scanned packages
run `npm audit fix` to fix 1 of them.
6 vulnerabilities require semver-major dependency updates.
6 vulnerabilities require manual review. See the full report for details.
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm audit fix
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 3.865s
192 packages are looking for funding
run `npm fund` for details
fixed 1 of 13 vulnerabilities in 989 scanned packages
6 vulnerabilities required manual review and could not be updated
3 package updates for 6 vulnerabilities involved breaking changes
(use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
npm ERR! code EINTEGRITY
npm ERR! sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== integrity checksum failed when using sha512: wanted sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
> [email protected] preuninstall /home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/husky
> node husky uninstall
husky > Uninstalling git hooks
husky > Done
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
+ [email protected]
+ [email protected]
+ [email protected]
added 67 packages from 41 contributors, removed 129 packages and updated 44 packages in 17.637s
175 packages are looking for funding
run `npm fund` for details
fixed 7 of 13 vulnerabilities in 989 scanned packages
6 vulnerabilities required manual review and could not be updated
3 package updates for 6 vulnerabilities involved breaking changes
(installed due to `--force` option)
npm ERR! Callback called more than once.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/chiya/.npm/_logs/2023-05-06T06_28_55_437Z-debug.log
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm install
npm WARN deprecated [email protected]: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">= 12.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
added 11 packages from 7 contributors, removed 17 packages, updated 29 packages, moved 2 packages and audited 919 packages in 9.222s
110 packages are looking for funding
run `npm fund` for details
found 4 vulnerabilities (2 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm audit fix
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 3.218s
176 packages are looking for funding
run `npm fund` for details
fixed 0 of 4 vulnerabilities in 919 scanned packages
4 vulnerabilities required manual review and could not be updated
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm fund
[email protected]
├─┬ https://opencollective.com/eslint
│ └── [email protected]
├─┬ https://github.com/sponsors/typicode
│ └── [email protected]
├─┬ https://opencollective.com/lint-staged
│ └── [email protected]
├─┬ https://opencollective.com/mochajs
│ └── [email protected]
├─┬ https://opencollective.com/unified
│ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├─┬ https://opencollective.com/sinon
│ └── [email protected]
├─┬ https://github.com/sponsors/sindresorhus
│ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├─┬ https://github.com/sponsors/isaacs
│ └── [email protected], [email protected], [email protected]
├─┬ https://github.com/sponsors/feross
│ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├─┬ https://www.patreon.com/feross
│ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├─┬ https://feross.org/support
│ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├─┬ https://github.com/sponsors/jonschlinkert
│ └── [email protected]
├─┬ https://github.com/sponsors/ljharb
│ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├─┬ https://github.com/sponsors/epoberezkin
│ └── [email protected], [email protected]
├─┬ https://github.com/chalk/chalk?sponsor=1
│ └── [email protected]
├─┬ https://github.com/sponsors/mysticatea
│ └── [email protected], [email protected]
├─┬ https://github.com/chalk/ansi-styles?sponsor=1
│ └── [email protected]
├─┬ https://github.com/sindresorhus/got?sponsor=1
│ └── [email protected]
├─┬ https://opencollective.com/mongoose
│ └── [email protected]
├─┬ https://github.com/sindresorhus/is?sponsor=1
│ └── @sindresorhus/[email protected]
├─┬ https://github.com/sindresorhus/execa?sponsor=1
│ └── [email protected]
├─┬ https://github.com/chalk/slice-ansi?sponsor=1
│ └── [email protected]
├─┬ https://paulmillr.com/funding/
│ └── [email protected]
├─┬ https://github.com/chalk/supports-color?sponsor=1
│ └── [email protected]
├─┬ https://github.com/chalk/wrap-ansi?sponsor=1
│ └── [email protected]
├─┬ https://opencollective.com/js-sdsl
│ └── [email protected]
├─┬ https://github.com/avajs/find-cache-dir?sponsor=1
│ └── [email protected]
├─┬ https://opencollective.com/babel
│ └── @babel/[email protected]
├─┬ https://opencollective.com/browserslist
│ └── [email protected], [email protected], [email protected]
├─┬ https://tidelift.com/funding/github/npm/browserslist
│ └── [email protected], [email protected]
├─┬ https://tidelift.com/funding/github/npm/caniuse-lite
│ └── [email protected]
├─┬ https://github.com/sponsors/ai
│ └── [email protected], [email protected]
├─┬ https://github.com/sponsors/unifiedjs
│ └── [email protected]
└─┬ https://github.com/sponsors/wooorm
└── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm install
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 919 packages in 3.724s
176 packages are looking for funding
run `npm fund` for details
found 4 vulnerabilities (2 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ npm audit fix
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=15.4.0 <16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 3.606s
176 packages are looking for funding
run `npm fund` for details
fixed 0 of 4 vulnerabilities in 919 scanned packages
4 vulnerabilities required manual review and could not be updated
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ node ./bin/iotagent-lora
{"op":"IoTAgentNGSI.JEXL","time":"2023-05-06T06:31:31.907Z","lvl":"INFO","msg":"Trasformations can be added to JEXL parser"}
{"time":"2023-05-06T06:31:32.021Z","lvl":"WARN","msg":"***********************************************\nWARNING: authentication for secure connections is not in use,\nIt is recommended to enable authentication\n***********************************************"}
time=2023-05-06T06:31:32.021Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Starting an IoT Agent... | comp=IoTAgent
time=2023-05-06T06:31:32.023Z | lvl=WARN | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=***********************************************
WARNING: authentication for secure connections is not in use,
It is recommended to enable authentication
*********************************************** | comp=IoTAgent
time=2023-05-06T06:31:32.023Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Default expression language not set, or invalid, using legacy configuration | comp=IoTAgent
time=2023-05-06T06:31:32.023Z | lvl=WARN | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=***********************************************
WARNING: authentication for secure connections is not in use,
It is recommended to enable authentication
*********************************************** | comp=IoTAgent
time=2023-05-06T06:31:32.023Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Activating IOT Agent NGSI Library. | comp=IoTAgent
time=2023-05-06T06:31:32.023Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=MongoDB Device registry selected for NGSI Library | comp=IoTAgent
time=2023-05-06T06:31:32.052Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=First connection attempt | comp=IoTAgent
time=2023-05-06T06:31:32.052Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Attempting to connect to MongoDB instance with url "mongodb://localhost:27017/iotagentlora" and options {}. Attempt 1 | comp=IoTAgent
(node:14886) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(node:14886) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
time=2023-05-06T06:31:32.067Z | lvl=ERROR | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=MONGODB-001: Error trying to connect to MongoDB: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] | comp=IoTAgent
time=2023-05-06T06:31:32.067Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Waiting 5 seconds before attempting again. | comp=IoTAgent
time=2023-05-06T06:31:37.072Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Attempting to connect to MongoDB instance with url "mongodb://localhost:27017/iotagentlora" and options {"useNewUrlParser":true}. Attempt 2 | comp=IoTAgent
time=2023-05-06T06:31:37.078Z | lvl=ERROR | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=MONGODB-001: Error trying to connect to MongoDB: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] | comp=IoTAgent
time=2023-05-06T06:31:37.079Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Waiting 5 seconds before attempting again. | comp=IoTAgent
time=2023-05-06T06:31:42.080Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Attempting to connect to MongoDB instance with url "mongodb://localhost:27017/iotagentlora" and options {"useNewUrlParser":true}. Attempt 3 | comp=IoTAgent
time=2023-05-06T06:31:42.085Z | lvl=ERROR | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=MONGODB-001: Error trying to connect to MongoDB: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] | comp=IoTAgent
time=2023-05-06T06:31:42.086Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Waiting 5 seconds before attempting again. | comp=IoTAgent
time=2023-05-06T06:31:47.092Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Attempting to connect to MongoDB instance with url "mongodb://localhost:27017/iotagentlora" and options {"useNewUrlParser":true}. Attempt 4 | comp=IoTAgent
time=2023-05-06T06:31:47.098Z | lvl=ERROR | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=MONGODB-001: Error trying to connect to MongoDB: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] | comp=IoTAgent
time=2023-05-06T06:31:47.098Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Waiting 5 seconds before attempting again. | comp=IoTAgent
time=2023-05-06T06:31:52.100Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Attempting to connect to MongoDB instance with url "mongodb://localhost:27017/iotagentlora" and options {"useNewUrlParser":true}. Attempt 5 | comp=IoTAgent
time=2023-05-06T06:31:52.104Z | lvl=ERROR | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=MONGODB-001: Error trying to connect to MongoDB: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] | comp=IoTAgent
time=2023-05-06T06:31:52.105Z | lvl=ERROR | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=MONGODB-002: Error found after [5] attempts: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] | comp=IoTAgent
time=2023-05-06T06:31:52.111Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.NorthboundServer | from=n/a | srv=n/a | subsrv=n/a | msg=Starting IoT Agent listening on port [4061] | comp=IoTAgent
time=2023-05-06T06:31:52.112Z | lvl=DEBUG | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.NorthboundServer | from=n/a | srv=n/a | subsrv=n/a | msg=Using config:
{
"logLevel": "DEBUG",
"timestamp": true,
"contextBroker": {
"host": "localhost",
"port": "1026",
"ngsiVersion": "v2",
"fallbackTenant": "iotagent",
"fallbackPath": "/",
"url": "http://localhost:1026"
},
"server": {
"port": 4061,
"ldSupport": {
"null": true,
"datasetId": true,
"merge": false
}
},
"defaultResource": "/iot/lora",
"deviceRegistry": {
"type": "mongodb"
},
"mongodb": {
"host": "localhost",
"port": "27017",
"db": "iotagentlora"
},
"types": {},
"service": "howtoService",
"subservice": "/howto",
"providerUrl": "http://localhost:4061",
"deviceRegistrationDuration": "P1Y",
"defaultType": "Thing",
"explicitAttrs": false,
"iotaVersion": "1.2.6-next",
"multiCore": false,
"relaxTemplateValidation": false,
"defaultEntityNameConjunction": ":",
"defaultExpressionLanguage": "legacy"
}
| comp=IoTAgent
time=2023-05-06T06:31:52.127Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.ContextServer-v2 | from=n/a | srv=n/a | subsrv=n/a | msg=Loading NGSI-v2 Context server routes | comp=IoTAgent
time=2023-05-06T06:31:52.134Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentLoRaWAN.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=iotagent-node-lib activated | comp=IoTAgent
time=2023-05-06T06:31:52.134Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.JEXL | from=n/a | srv=n/a | subsrv=n/a | msg=Trasformations can be added to JEXL parser | comp=IoTAgent
time=2023-05-06T06:31:52.135Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentLoRaWAN.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=Loading types from configuration file | comp=IoTAgent
time=2023-05-06T06:31:52.136Z | lvl=INFO | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentLoRaWAN.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=Loading services from registry | comp=IoTAgent
time=2023-05-06T06:31:52.137Z | lvl=ERROR | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DomainControl | from=n/a | srv=n/a | subsrv=n/a | msg={ TypeError: Cannot read property 'find' of undefined
at Function.listGroups (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/groups/groupRegistryMongoDB.js:140:31)
at Domain.expandedFunction (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/common/domain.js:175:23)
at Domain.run (domain.js:349:14)
at ensureSouthboundTransaction (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/common/domain.js:158:22)
at Function.<anonymous> (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/common/domain.js:178:16)
at Object.list (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/common/alarmManagement.js:116:25)
at Function.listGroups (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/groups/groupService.js:133:31)
at Domain.expandedFunction (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/common/domain.js:175:23)
at Domain.run (domain.js:349:14)
at ensureSouthboundTransaction (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/common/domain.js:158:22)
at Object.list (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/iotagent-node-lib/lib/services/common/domain.js:178:16)
at loadServices (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/lib/iotagent-lora.js:677:14)
at nextTask (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/async/dist/async.js:5327:14)
at next (/home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/async/dist/async.js:5334:9)
at /home/chiya/LoRaWorks/IoTagent-LoRaWAN/node_modules/async/dist/async.js:972:16
at /home/chiya/LoRaWorks/IoTagent-LoRaWAN/lib/iotagent-lora.js:663:11
domain:
Domain {
domain: null,
_events:
[Object: null prototype] {
removeListener: [Function: updateExceptionCapture],
newListener: [Function: updateExceptionCapture],
error: [Function: domainErrorHandler] },
_eventsCount: 3,
_maxListeners: undefined,
members: [],
start: 1683354691495,
trans: '0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3',
corr: '0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3',
op: 'IoTAgentNGSI.MongoDBGroupRegister',
[Symbol(kWeak)]: WeakReference {} },
domainThrown: true } | comp=IoTAgent
time=2023-05-06T06:31:52.142Z | lvl=DEBUG | corr=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | trans=0e61b0e6-890f-46a7-950f-b0ee2ac9c4e3 | op=IoTAgentNGSI.DomainControl | from=n/a | srv=n/a | subsrv=n/a | msg=response-time: 20647 | comp=IoTAgent
time=2023-05-06T06:33:06.156Z | lvl=DEBUG | corr=e313e1be-95bc-47a8-91ff-13701053501e | trans=e313e1be-95bc-47a8-91ff-13701053501e | op=IoTAgentNGSI.GenericMiddlewares | from=n/a | srv=n/a | subsrv=n/a | msg=Request for path [/iot/about] from [localhost:4061] | comp=IoTAgent
time=2023-05-06T06:33:06.161Z | lvl=DEBUG | corr=e313e1be-95bc-47a8-91ff-13701053501e | trans=e313e1be-95bc-47a8-91ff-13701053501e | op=IoTAgentNGSI.DomainControl | from=n/a | srv=n/a | subsrv=n/a | msg=response-time: 6 | comp=IoTAgent
^Ctime=2023-05-06T06:33:33.004Z | lvl=INFO | corr=n/a | trans=n/a | op=IoTAgentLoRaWAN.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=Received SIGINT, starting shutdown processs | comp=IoTAgent
time=2023-05-06T06:33:33.005Z | lvl=INFO | corr=n/a | trans=n/a | op=IoTAgentLoRaWAN.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=Stopping IoT Agent | comp=IoTAgent
time=2023-05-06T06:33:33.006Z | lvl=INFO | corr=38585a74-49d0-457f-b7c3-3e44e45cc8e5 | trans=38585a74-49d0-457f-b7c3-3e44e45cc8e5 | op=IoTAgentNGSI.NorthboundServer | from=n/a | srv=n/a | subsrv=n/a | msg=Stopping IoT Agent | comp=IoTAgent
time=2023-05-06T06:33:33.007Z | lvl=INFO | corr=38585a74-49d0-457f-b7c3-3e44e45cc8e5 | trans=38585a74-49d0-457f-b7c3-3e44e45cc8e5 | op=IoTAgentLoRaWAN.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=Agent stopped | comp=IoTAgent
chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$