target / attack-navigator-docker

A simple Docker container that serves the MITRE ATT&CK Navigator web app
MIT License
26 stars 7 forks source link

Error when runnink `make` #9

Closed MrSeccubus closed 4 months ago

MrSeccubus commented 11 months ago

Describe the bug Tried to build the container. Build process aborts with an error message

To Reproduce Steps to reproduce the behavior:

make

Error

> node scripts/install.js

/attack-navigator/nav-app/node_modules/@npmcli/fs/lib/fs.js:6
const fsSync = Object.fromEntries(Object.entries(fs).filter(([k, v]) =>
                      ^

TypeError: Object.fromEntries is not a function
    at Object.<anonymous> (/attack-navigator/nav-app/node_modules/@npmcli/fs/lib/fs.js:6:23)
    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)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/attack-navigator/nav-app/node_modules/@npmcli/fs/lib/index.js:2:6)
    at Module._compile (internal/modules/cjs/loader.js:778:30)

Expected behavior Expected build to work

Screenshots Nope.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.