Package Details: aws-cdk 2.146.0-1

Git Clone URL: (read-only, click to copy)
Package Base: aws-cdk
Description: CDK Toolkit, the command line tool for CDK apps
Upstream URL:
Licenses: Apache
Submitter: christoph.gysin
Maintainer: christoph.gysin
Last Packager: christoph.gysin
Votes: 11
Popularity: 0.001465
First Submitted: 2020-04-22 05:40 (UTC)
Last Updated: 2024-06-14 19:14 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

christoph.gysin commented on 2023-06-13 20:30 (UTC)

@joshm This package doesn't install nodejs, it merely lists it as a dependency. Pacman installs dependencies. Check the pacman docs:


pacman --nodeps -p aws-cdk-2.38.1-1.pkg.tar.zst

joshm commented on 2023-06-13 19:51 (UTC) (edited on 2023-06-13 19:52 (UTC) by joshm)

This package doesn't play nice with NVM. It wants to install nodejs-20.2.1 and npm-8.19.2-2 but I'm not interested in having Node installed directly. Is there a workaround? Note that I've set NVM to use the latest 20.x version and the dep is still trying to be installed.

christoph.gysin commented on 2023-01-11 20:19 (UTC)

@pigfrown The arch nodejs package is currently at 19.4.0-1. You must have set up an older version using nvm.

pigfrown commented on 2023-01-11 13:37 (UTC) (edited on 2023-01-11 13:38 (UTC) by pigfrown)

If you are getting the following error:

    home = path.join((os.userInfo().homedir ?? os.homedir()).trim(), ".cdk");

SyntaxError: Unexpected token '?'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/lib/node_modules/aws-cdk/bin/cdk.js:3:15)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

It's because you are using the wrong version of node. aws-cdk requires node 14, the arch nodejs package is currently 12.

Fix is:

nvm install 14
nvm use 14

ChrisLane commented on 2022-05-10 09:58 (UTC)

@christoph.gysin could you add me as a maintainer or update the package please?

ChrisLane commented on 2022-04-01 15:46 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index c03e2ef..fdf620b 100644
@@ -1,7 +1,7 @@
 # Maintainer: Christoph Gysin <>

 pkgdesc="CDK Toolkit, the command line tool for CDK apps"
@@ -11,7 +11,7 @@ makedepends=('npm')
 optdepends=('python: python language support')

 package() {
   local _npmdir="$pkgdir/usr/lib/node_modules/"

christoph.gysin commented on 2021-12-11 16:47 (UTC)

aws-cdk-v1.x has moved to