Skip to content

toolkit fails to build #409

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

Closed
rectalogic opened this issue Jul 25, 2022 · 1 comment
Closed

toolkit fails to build #409

rectalogic opened this issue Jul 25, 2022 · 1 comment

Comments

@rectalogic
Copy link
Contributor

The toolkit is not currently buildable due to a breaking change in @types/prettier and the lack of a package-lock.json - apparently due to DefinitelyTyped/DefinitelyTyped#60310

$ npm install
[...]
$ npm run bootstrap

> bootstrap
> lerna bootstrap --no-ci

lerna notice cli v4.0.0
lerna info versioning independent
lerna info Bootstrapping 8 packages
lerna info Symlinking packages and binaries
lerna success Bootstrapped 8 packages

> postbootstrap
> lerna run build

lerna notice cli v4.0.0
lerna info versioning independent
lerna info Executing command in 4 packages: "npm run build"
lerna info run Ran npm script 'build' in '@twilio-labs/serverless-runtime-types' in 0.4s:

> @twilio-labs/[email protected] build
> node bundler.js

lerna ERR! npm run build exited 2 in '@twilio-labs/serverless-api'
lerna ERR! npm run build stdout:

> @twilio-labs/[email protected] build
> tsc

node_modules/@types/prettier/index.d.ts(41,54): error TS2315: Type 'IsTuple' is not generic.
node_modules/@types/prettier/index.d.ts(53,6): error TS2456: Type alias 'IsTuple' circularly references itself.
node_modules/@types/prettier/index.d.ts(53,65): error TS2574: A rest element type must be an array type.
node_modules/@types/prettier/index.d.ts(53,84): error TS2315: Type 'IsTuple' is not generic.
node_modules/@types/prettier/index.d.ts(96,5): error TS2589: Type instantiation is excessively deep and possibly infinite.
node_modules/@types/prettier/index.d.ts(131,5): error TS2589: Type instantiation is excessively deep and possibly infinite.
node_modules/@types/prettier/index.d.ts(165,5): error TS2589: Type instantiation is excessively deep and possibly infinite.
lerna ERR! npm run build exited 2 in '@twilio-labs/serverless-api'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
@dkundel
Copy link
Contributor

dkundel commented Aug 30, 2022

This has been resolved now. Thanks for opening the issue.

@dkundel dkundel closed this as completed Aug 30, 2022
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