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

cdk example install doesn't work #231

Open
ktwbc opened this issue Sep 15, 2024 · 1 comment
Open

cdk example install doesn't work #231

ktwbc opened this issue Sep 15, 2024 · 1 comment

Comments

@ktwbc
Copy link

ktwbc commented Sep 15, 2024

Just trying to follow README directions, won't even compile

➜  dev git clone https://github.com/jetbridge/cdk-nextjs.git
Cloning into 'cdk-nextjs'...
remote: Enumerating objects: 1980, done.
remote: Counting objects: 100% (1980/1980), done.
remote: Compressing objects: 100% (782/782), done.
remote: Total 1980 (delta 1328), reused 1698 (delta 1176), pack-reused 0 (from 0)
Receiving objects: 100% (1980/1980), 8.96 MiB | 14.92 MiB/s, done.
Resolving deltas: 100% (1328/1328), done.
➜  dev cd cdk-nextjs
➜  cdk-nextjs git:(main) yarn install
yarn install v1.22.19
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
[5/5] 🔨  Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.22.22", while you're on "1.22.19".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
✨  Done in 16.05s.
➜  cdk-nextjs git:(main) yarn build
yarn run v1.22.19
$ npx projen build
👾 build » default | ts-node --project tsconfig.dev.json .projenrc.ts
/Volumes/dev/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:40
        throw new AggregateError([error, errorLocal], `jsii assembly ${asm} not found`);
              ^
@bestickley
Copy link
Contributor

@ktwbc, try running yarn compile before yarn build

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

No branches or pull requests

2 participants