Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems to not work anymore #5

Open
patrick-heuer-maersk opened this issue Mar 25, 2022 · 2 comments · May be fixed by #9
Open

It seems to not work anymore #5

patrick-heuer-maersk opened this issue Mar 25, 2022 · 2 comments · May be fixed by #9

Comments

@patrick-heuer-maersk
Copy link

Hi,

great tool, but it seems to stop working anymore. I tried following with your example json from the README.md:

  1. CLI via NPX

a.) Windows 10: many warnings and no static files are created
b.) Ubuntu 20: many warnings and exit code 1 - no files are created

C:\DEV\source\tech-radar>npx [email protected] ./test-radar.json ./output
Need to install the following packages:
  [email protected]
Ok to proceed? (y) y
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: 3.x is no longer supported
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
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 WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

C:\DEV\source\tech-radar>
  1. trying with NPM install (github master branch)
C:\DEV\source\tech-radar-generator>npm install
npm ERR! code 1
npm ERR! path C:\DEV\source\tech-radar-generator\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/install.js
npm ERR! node:internal/modules/cjs/loader:936
npm ERR!   throw err;
npm ERR!   ^
npm ERR!
npm ERR! Error: Cannot find module './lib/cookies'
npm ERR! Require stack:
npm ERR! - C:\DEV\source\tech-radar-generator\node_modules\request\index.js
npm ERR! - C:\DEV\source\tech-radar-generator\node_modules\node-sass\scripts\install.js
npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1005:19)
npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
npm ERR!     at Object.<anonymous> (C:\DEV\source\tech-radar-generator\node_modules\request\index.js:18:15)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1103:14)
npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:981:32)
npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1005:19) {
npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR!   requireStack: [
npm ERR!     'C:\\DEV\\source\\tech-radar-generator\\node_modules\\request\\index.js',
npm ERR!     'C:\\DEV\\source\\tech-radar-generator\\node_modules\\node-sass\\scripts\\install.js'
npm ERR!   ]
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\PKRAUSE\AppData\Local\npm-cache\_logs\2022-03-25T12_58_36_624Z-debug-0.log

C:\DEV\source\tech-radar-generator>

So, it seems to me, that sth. with the dependencies prevents the tool from working. Or that I did sth. wrong... any idea?

THX + BEST
Patrick

@patrick-heuer-maersk patrick-heuer-maersk changed the title IT seems to not work anymore It seems to not work anymore Mar 30, 2022
@DawMatt
Copy link

DawMatt commented Aug 5, 2022

@patrick-heuer-maersk , I can't get it to run under node 16 myself. It does still run under node 12. Try downgrading your node implementation, or running it in a Docker container. The readme for the repo gives an example Dockerfile that can get you started.

@DawMatt
Copy link

DawMatt commented Sep 26, 2022

@patrick-heuer-maersk / @dprgarner , to work around the node specific features of this project I've released a docker image pinning the container to a supported node version (v14): https://hub.docker.com/r/dawmatt/tech-radar-generator

The Dockerfile details are in this fork: https://github.com/DawMatt/tech-radar-generator

@amcintosh amcintosh linked a pull request Aug 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants