Hello,

 Would anybody here have any idea about why do CircleCI builds fail when
trying to install markdownlint? In case the build log[*] is not accessible
without CircleCI account, here is the relevant part:

---------------------------------- >8 --------------------------------------
#!/bin/bash -eo pipefail
sudo npm install -g markdownlint-cli
markdownlint --version

[..................]
+ markdownlint-cli@0.24.0
added 36 packages in 2.321s
/usr/local/lib/node_modules/markdownlint-cli/markdownlint.js:52
    } catch {
            ^

SyntaxError: Unexpected token {
    at createScript (vm.js:74:10)
    at Object.runInThisContext (vm.js:116:10)
    at Module._compile (module.js:588:28)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:201:16)
    at bootstrap_node.js:626:3

Exited with code exit status 1
---------------------------------- >8 --------------------------------------

 I have no idea why a simple "npm install" should fail like this, does
anybody know more about this? Note that this command runs in
circleci/ruby:2.4.1-node Docker image, should we perhaps use something
different now?

 Thanks in advance for any ideas,
VZ

[*]: 
https://app.circleci.com/pipelines/github/SOCI/soci/15/workflows/12413004-5f57-4f8c-8172-48a2fa0d6f9e/jobs/400

Attachment: pgp_YqqA1x8bt.pgp
Description: PGP signature

_______________________________________________
soci-devel mailing list
soci-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-devel

Reply via email to