It fails to build with
npm ERR! code 1
npm ERR! path /nix/store/n7sdkr41nax0mn8drh3lxymqbmrradi4-tedicross-0.8.7/lib/node_modules/tedicross/node_modules/sodium
npm ERR! command failed
npm ERR! command sh -c node install.js --preinstall
npm ERR! Static libsodium was not found at /nix/store/n7sdkr41nax0mn8drh3lxymqbmrradi4-tedicross-0.8.7/lib/node_modules/tedicross/node_modules/sodium/deps/build/lib/libsodium so compiling libsodium from source.
npm ERR! automake is required, but wasn't found on this system
npm ERR! make: *** [Makefile:62: libsodium] Error 1
npm ERR! /nix/store/n7sdkr41nax0mn8drh3lxymqbmrradi4-tedicross-0.8.7/lib/node_modules/tedicross/node_modules/sodium/install.js:287
npm ERR! throw new Error(cmdLine + ' exited with code ' + code);
npm ERR! ^
npm ERR!
npm ERR! Error: make libsodium exited with code 2
npm ERR! at ChildProcess.<anonymous> (/nix/store/n7sdkr41nax0mn8drh3lxymqbmrradi4-tedicross-0.8.7/lib/node_modules/tedicross/node_modules/sodium/install.js:287:19)
npm ERR! at ChildProcess.emit (node:events:514:28)
npm ERR! at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR!
npm ERR! Node.js v18.17.1
`swagger project create` fails with
/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/node_modules/js-yaml/lib/js-yaml/dumper.js:779
throw new YAMLException('unacceptable kind of an object to dump ' + type);
^
YAMLException: unacceptable kind of an object to dump [object Error]
at writeNode (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/node_modules/js-yaml/lib/js-yaml/dumper.js:779:13)
at writeBlockSequence (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/node_modules/js-yaml/lib/js-yaml/dumper.js:542:9)
at writeNode (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/node_modules/js-yaml/lib/js-yaml/dumper.js:763:9)
at dump (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/node_modules/js-yaml/lib/js-yaml/dumper.js:840:7)
at Object.safeDump (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/node_modules/js-yaml/lib/js-yaml/dumper.js:846:10)
at print (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/lib/util/cli.js💯22)
at printAndExit (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/lib/util/cli.js:85:5)
at cb (/nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/lib/util/cli.js:155:5)
at /nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/lib/commands/project/project.js:105:25
at /nix/store/pg6q73qfnr9dfjywmifi9iwp626409l3-swagger-0.7.5/lib/node_modules/swagger/lib/commands/project/project.js:330:23 {
reason: 'unacceptable kind of an object to dump [object Error]',
mark: undefined
}