Skip to content

Unable to run yarn dev after cloning repo #39

@alexwlchan

Description

@alexwlchan

I tried following the instructions in the README: clone the repo, run yarn to install dependencies, then run yarn dev to start the apps, but I'm getting a lot of errors and the API doesn't seem to be starting.

I would guess I'm using a different version of node/yarn to you – any ideas?

$ npm --version
11.4.2

$ yarn --version
1.22.22

Here's the full console output, which is very long:

$ yarn dev
yarn run v1.22.22
$ turbo run dev --no-cache --parallel --continue
 WARNING  --no-cache is deprecated and will be removed in a future major version. Use --cache=local:r,remote:r
turbo 2.3.3

• Packages in scope: @phylopic/api, @phylopic/api-docs, @phylopic/api-models, @phylopic/contribute, @phylopic/edit, @phylopic/publish, @phylopic/source-client, @phylopic/source-models, @phylopic/styles, @phylopic/tsconfig, @phylopic/ui, @phylopic/utils, @phylopic/utils-api, @phylopic/utils-aws, @phylopic/www, eslint-config-phylopic
• Running dev in 16 packages
• Remote caching disabled
@phylopic/source-client:dev: cache bypass, force executing 6720eaa3d2864221
@phylopic/source-client:dev:
@phylopic/utils-api:dev: cache bypass, force executing c6a9337e8999e31a
@phylopic/www:dev: cache bypass, force executing 4649654ae177311e
@phylopic/utils-api:dev:
@phylopic/utils-aws:dev: cache bypass, force executing df0fe5af0e87fc95
@phylopic/www:dev:
@phylopic/utils-aws:dev:
@phylopic/contribute:dev: cache bypass, force executing e6757e5a55da2395
@phylopic/contribute:dev:
@phylopic/utils:dev: cache bypass, force executing 4f1229438ee2e8e7
@phylopic/api-models:dev: cache bypass, force executing 6cd8ee311200b0e1
@phylopic/ui:dev: cache bypass, force executing 7f7475879bc59d47
@phylopic/utils:dev:
@phylopic/source-models:dev: cache bypass, force executing 24d9486a4966cbca
@phylopic/api-models:dev:
@phylopic/edit:dev: cache bypass, force executing 89b088ee6783a9cf
@phylopic/source-models:dev:
@phylopic/ui:dev:
@phylopic/edit:dev:
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
$ tsup src/index.ts --format esm,cjs --watch --dts
$ tsup --watch
$ tsup src/index.ts --format esm,cjs --watch --dts --external @aws-sdk/client-s3
$ next dev -p 3000
$ tsup src/index.ts --format esm,cjs --watch --dts --external @aws-sdk/client-s3 @phylopic/source-models @phylopic/utils @phylopic/utils-aws jsonwebtoken next pg uuid
$ tsup --watch
$ next dev -p 3002
$ tsup src/index.ts --format esm,cjs --watch --dts --external @phylopic/api-models @phylopic/utils axios react swr
$ next dev -p 3001
$ tsup src/index.ts --format esm,cjs --watch --dts
@phylopic/source-models:dev: CLI Building entry: src/index.ts
@phylopic/source-models:dev: CLI Using tsconfig: tsconfig.json
@phylopic/source-models:dev: CLI tsup v8.0.2
@phylopic/source-models:dev: CLI Running in watch mode
@phylopic/source-models:dev: CLI Target: node16
@phylopic/source-models:dev: ESM Build start
@phylopic/source-models:dev: CJS Build start
@phylopic/utils-aws:dev: CLI Building entry: src/index.ts
@phylopic/utils-aws:dev: CLI Using tsconfig: tsconfig.json
@phylopic/utils-aws:dev: CLI tsup v8.0.2
@phylopic/utils-aws:dev: CLI Running in watch mode
@phylopic/utils-aws:dev: CLI Target: node16
@phylopic/utils-aws:dev: ESM Build start
@phylopic/utils-aws:dev: CJS Build start
@phylopic/source-models:dev: CJS dist/index.js 8.78 KB
@phylopic/source-models:dev: CJS ⚡️ Build success in 40ms
@phylopic/source-models:dev: ESM dist/index.mjs 6.72 KB
@phylopic/source-models:dev: ESM ⚡️ Build success in 40ms
@phylopic/source-models:dev: CLI Watching for changes in "."
@phylopic/source-models:dev: CLI Ignoring changes in "**/{.git,node_modules}/**" | "dist"
@phylopic/utils-aws:dev: ESM dist/index.mjs 3.24 KB
@phylopic/utils-aws:dev: ESM ⚡️ Build success in 18ms
@phylopic/utils-aws:dev: CJS dist/index.js 5.14 KB
@phylopic/utils-aws:dev: CJS ⚡️ Build success in 18ms
@phylopic/utils-aws:dev: CLI Watching for changes in "."
@phylopic/utils-aws:dev: CLI Ignoring changes in "**/{.git,node_modules}/**" | "dist"
@phylopic/utils:dev: CLI Building entry: src/index.ts
@phylopic/utils:dev: CLI Using tsconfig: tsconfig.json
@phylopic/utils:dev: CLI tsup v8.0.2
@phylopic/utils:dev: CLI Using tsup config: /Users/alexwlchan/repos/phylopic/packages/utils/package.json
@phylopic/utils:dev: CLI Running in watch mode
@phylopic/utils:dev: CLI Target: ESNext
@phylopic/utils:dev: CLI Cleaning output folder
@phylopic/utils:dev: CJS Build start
@phylopic/utils:dev: ESM Build start
@phylopic/source-models:dev: DTS Build start
@phylopic/utils-aws:dev: DTS Build start
@phylopic/utils:dev: ESM dist/index.mjs     21.74 KB
@phylopic/utils:dev: ESM dist/index.mjs.map 49.14 KB
@phylopic/utils:dev: ESM ⚡️ Build success in 85ms
@phylopic/utils:dev: CJS dist/index.js     24.43 KB
@phylopic/utils:dev: CJS dist/index.js.map 48.99 KB
@phylopic/utils:dev: CJS ⚡️ Build success in 86ms
@phylopic/utils:dev: CLI Watching for changes in "."
@phylopic/utils:dev: CLI Ignoring changes in "**/{.git,node_modules}/**" | "dist"
@phylopic/utils:dev: DTS Build start
@phylopic/source-client:dev: CLI Building entry: src/index.ts
@phylopic/source-client:dev: CLI Using tsconfig: tsconfig.json
@phylopic/source-client:dev: CLI tsup v8.0.2
@phylopic/source-client:dev: CLI Running in watch mode
@phylopic/source-client:dev: CLI Target: node16
@phylopic/source-client:dev: ESM Build start
@phylopic/source-client:dev: CJS Build start
@phylopic/source-client:dev: CJS dist/index.js 55.57 KB
@phylopic/source-client:dev: CJS ⚡️ Build success in 117ms
@phylopic/source-client:dev: ESM dist/index.mjs 53.10 KB
@phylopic/source-client:dev: ESM ⚡️ Build success in 120ms
@phylopic/source-client:dev: CLI Watching for changes in "."
@phylopic/source-client:dev: CLI Ignoring changes in "**/{.git,node_modules}/**" | "dist"
@phylopic/ui:dev: CLI Building entry: src/index.ts
@phylopic/ui:dev: CLI Using tsconfig: tsconfig.json
@phylopic/ui:dev: CLI tsup v8.0.2
@phylopic/ui:dev: CLI Using tsup config: /Users/alexwlchan/repos/phylopic/packages/ui/package.json
@phylopic/ui:dev: CLI Running in watch mode
@phylopic/ui:dev: CLI Target: ESNext
@phylopic/ui:dev: CLI Cleaning output folder
@phylopic/ui:dev: CJS Build start
@phylopic/ui:dev: ESM Build start
@phylopic/contribute:dev:   ▲ Next.js 14.2.4
@phylopic/contribute:dev:   - Local:        http://localhost:3002
@phylopic/contribute:dev:
@phylopic/contribute:dev:  ✓ Starting...
@phylopic/source-client:dev: DTS Build start
@phylopic/ui:dev: ESM dist/index.mjs     51.99 KB
@phylopic/ui:dev: ESM dist/index.mjs.map 109.80 KB
@phylopic/ui:dev: ESM ⚡️ Build success in 189ms
@phylopic/ui:dev: CJS dist/index.js     58.44 KB
@phylopic/ui:dev: CJS dist/index.js.map 107.94 KB
@phylopic/ui:dev: CJS ⚡️ Build success in 193ms
@phylopic/ui:dev: CLI Watching for changes in "."
@phylopic/ui:dev: CLI Ignoring changes in "**/{.git,node_modules}/**" | "dist"
@phylopic/utils-api:dev: CLI Building entry: src/index.ts
@phylopic/utils-api:dev: CLI Using tsconfig: tsconfig.json
@phylopic/utils-api:dev: CLI tsup v8.0.2
@phylopic/utils-api:dev: CLI Running in watch mode
@phylopic/utils-api:dev: CLI Target: node16
@phylopic/utils-api:dev: ESM Build start
@phylopic/utils-api:dev: CJS Build start
@phylopic/api-models:dev: CLI Building entry: src/index.ts
@phylopic/api-models:dev: CLI Using tsconfig: tsconfig.json
@phylopic/api-models:dev: CLI tsup v8.0.2
@phylopic/api-models:dev: CLI Running in watch mode
@phylopic/api-models:dev: CLI Target: node16
@phylopic/api-models:dev: ESM Build start
@phylopic/api-models:dev: CJS Build start
@phylopic/ui:dev: DTS Build start
@phylopic/utils-api:dev: ESM dist/index.mjs 5.35 KB
@phylopic/utils-api:dev: ESM ⚡️ Build success in 76ms
@phylopic/utils-api:dev: CJS dist/index.js 7.59 KB
@phylopic/utils-api:dev: CJS ⚡️ Build success in 77ms
@phylopic/utils-api:dev: CLI Watching for changes in "."
@phylopic/utils-api:dev: CLI Ignoring changes in "**/{.git,node_modules}/**" | "dist"
@phylopic/edit:dev:   ▲ Next.js 14.2.4
@phylopic/edit:dev:   - Local:        http://localhost:3001
@phylopic/edit:dev:
@phylopic/edit:dev:  ✓ Starting...
@phylopic/api-models:dev: CJS dist/index.js 31.29 KB
@phylopic/api-models:dev: CJS ⚡️ Build success in 180ms
@phylopic/api-models:dev: ESM dist/index.mjs 27.29 KB
@phylopic/api-models:dev: ESM ⚡️ Build success in 181ms
@phylopic/api-models:dev: CLI Watching for changes in "."
@phylopic/api-models:dev: CLI Ignoring changes in "**/{.git,node_modules}/**" | "dist"
@phylopic/api-models:dev: DTS Build start
@phylopic/utils-api:dev: DTS Build start
@phylopic/source-models:dev: DTS ⚡️ Build success in 1448ms
@phylopic/www:dev:   ▲ Next.js 14.2.4
@phylopic/www:dev:   - Local:        http://localhost:3000
@phylopic/www:dev:
@phylopic/www:dev:  ✓ Starting...
@phylopic/www:dev: `destination` is missing for route {"source":"/account","permanent":true}
@phylopic/www:dev:
@phylopic/www:dev: `destination` is missing for route {"source":"/account/:path*","permanent":true}
@phylopic/www:dev:
@phylopic/www:dev: `destination` is missing for route {"source":"/contribute","permanent":true}
@phylopic/www:dev:
@phylopic/www:dev:
@phylopic/www:dev: Error: Invalid redirects found
@phylopic/www:dev:
✨  Done in 2.00s.
@phylopic/api:dev: cache bypass, force executing 91ec9a4864b31498
@phylopic/api:dev:
@phylopic/utils-aws:dev: DTS ⚡️ Build success in 1546ms
yarn run v1.22.22
$ sls offline --httpPort 3003
@phylopic/utils:dev: DTS ⚡️ Build success in 1739ms
@phylopic/utils-api:dev: src/builds/getBuildFromURL.ts(1,59): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev:
@phylopic/utils-api:dev: DTS Build failed
@phylopic/utils-api:dev: Error: error occured in dts build
@phylopic/utils-api:dev:     at Worker.<anonymous> (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/index.js:2693:26)
@phylopic/utils-api:dev:     at Worker.emit (node:events:507:28)
@phylopic/utils-api:dev:     at MessagePort.<anonymous> (node:internal/worker:267:53)
@phylopic/utils-api:dev:     at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
@phylopic/utils-api:dev:     at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
@phylopic/utils-api:dev: RollupError: [plugin dts] src/builds/getBuildFromURL.ts: Failed to compile. Check the logs above.
@phylopic/utils-api:dev:     at getRollupError (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:282:41)
@phylopic/utils-api:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:278:42)
@phylopic/utils-api:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:813:32)
@phylopic/utils-api:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:19597:42)
@phylopic/utils-api:dev:     at generateDtsFromTs (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7776:22)
@phylopic/utils-api:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:59
@phylopic/utils-api:dev:     at _nullishCoalesce (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:1:198)
@phylopic/utils-api:dev:     at Object.transform (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:18)
@phylopic/utils-api:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:998:40
@phylopic/utils-api:dev: src/builds/addBuildToURL.ts(1,53): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev:
@phylopic/utils-api:dev: src/fetch/fetchData.ts(2,74): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev:
@phylopic/utils-api:dev: src/fetch/fetchResult.ts(1,31): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev:
@phylopic/utils-api:dev: src/fetch/fetchDataAndCheck.ts(1,36): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev:
@phylopic/utils-api:dev: src/swr/createAPIFetcher.ts(2,21): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev: src/swr/createAPIFetcher.ts(12,11): error TS7006: Parameter 'key' implicitly has an 'any' type.
@phylopic/utils-api:dev:
@phylopic/utils-api:dev: src/swr/APISWRError.ts(2,27): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev:
@phylopic/utils-api:dev: src/swr/useAPISWRKey.ts(1,21): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/utils-api:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/utils-api:dev:
@phylopic/api-models:dev: src/constants/PERMITTED_LICENSE_CHANGES.ts(1,45): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: DTS Build failed
@phylopic/api-models:dev: Error: error occured in dts build
@phylopic/api-models:dev:     at Worker.<anonymous> (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/index.js:2693:26)
@phylopic/api-models:dev:     at Worker.emit (node:events:507:28)
@phylopic/api-models:dev:     at MessagePort.<anonymous> (node:internal/worker:267:53)
@phylopic/api-models:dev:     at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
@phylopic/api-models:dev:     at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
@phylopic/api-models:dev: RollupError: [plugin dts] src/constants/PERMITTED_LICENSE_CHANGES.ts: Failed to compile. Check the logs above.
@phylopic/api-models:dev:     at getRollupError (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:282:41)
@phylopic/api-models:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:278:42)
@phylopic/api-models:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:813:32)
@phylopic/api-models:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:19597:42)
@phylopic/api-models:dev:     at generateDtsFromTs (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7776:22)
@phylopic/api-models:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:59
@phylopic/api-models:dev:     at _nullishCoalesce (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:1:198)
@phylopic/api-models:dev:     at Object.transform (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:18)
@phylopic/api-models:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:998:40
@phylopic/api-models:dev: src/detection/isAPI.ts(1,92): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isDataMediaType.ts(1,54): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isCollection.ts(1,71): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isContributor.ts(1,98): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isEntity.ts(1,66): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isError.ts(9,8): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isImage.ts(13,8): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isImageWithEmbedded.ts(1,91): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isErrorType.ts(1,59): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isLink.ts(1,72): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isLinks.ts(1,57): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isData.ts(1,71): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isList.ts(7,8): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isMediaLink.ts(1,88): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isNode.ts(1,100): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isNodeWithEmbedded.ts(1,91): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isPage.ts(7,8): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isPageWithEmbedded.ts(1,101): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isQueryMatches.ts(1,84): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isSizes.ts(1,59): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/detection/isTitledLink.ts(1,80): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/licenses/canChange.ts(1,45): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/API.ts(1,35): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/AuthorizedNamespace.ts(1,38): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/Collection.ts(1,25): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/Entity.ts(1,36): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/Error.ts(1,21): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/Image.ts(1,86): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/Node.ts(1,23): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/types/CollectionParameters.ts(1,25): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/types/ContributorListParameters.ts(1,22): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/types/MediaLink.ts(1,32): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/types/EntityParameters.ts(1,22): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/types/ImageListParameters.ts(1,36): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/types/NodeListParameters.ts(1,22): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/types/ResolveObjectParameters.ts(1,48): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/types/ResolveObjectsParameters.ts(1,49): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isCollectionParameters.ts(1,53): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isContributorListParameters.ts(1,73): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isDataParameters.ts(1,93): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isEmbeddableParameters.ts(1,69): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isEntityParameters.ts(1,75): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isImageListParameters.ts(9,8): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev: src/queryParameters/detection/isImageListParameters.ts(60,9): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'ImageListParameters'.
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isListParameters.ts(1,79): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isNodeLineageParameters.ts(1,47): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isQueryParameters.ts(1,47): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev: src/queryParameters/detection/isQueryParameters.ts(2,34): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isResolveObjectParameters.ts(1,47): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev: src/queryParameters/detection/isResolveObjectParameters.ts(2,54): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isResolveObjectsParameters.ts(1,47): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev: src/queryParameters/detection/isResolveObjectsParameters.ts(2,55): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev:
@phylopic/api-models:dev: src/queryParameters/detection/isNodeListParameters.ts(1,91): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/api-models:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/api-models:dev: src/queryParameters/detection/isNodeListParameters.ts(11,36): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'NodeListParameters'.
@phylopic/api-models:dev:
@phylopic/contribute:dev:  ✓ Ready in 1708ms
@phylopic/ui:dev: src/hooks/useImageLoader.ts(2,52): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: DTS Build failed
@phylopic/ui:dev: Error: error occured in dts build
@phylopic/ui:dev:     at Worker.<anonymous> (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/index.js:2693:26)
@phylopic/ui:dev:     at Worker.emit (node:events:507:28)
@phylopic/ui:dev:     at MessagePort.<anonymous> (node:internal/worker:267:53)
@phylopic/ui:dev:     at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
@phylopic/ui:dev:     at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
@phylopic/ui:dev: RollupError: [plugin dts] src/hooks/useImageLoader.ts: Failed to compile. Check the logs above.
@phylopic/ui:dev:     at getRollupError (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:282:41)
@phylopic/ui:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:278:42)
@phylopic/ui:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:813:32)
@phylopic/ui:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:19597:42)
@phylopic/ui:dev:     at generateDtsFromTs (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7776:22)
@phylopic/ui:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:59
@phylopic/ui:dev:     at _nullishCoalesce (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:1:198)
@phylopic/ui:dev:     at Object.transform (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:18)
@phylopic/ui:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:998:40
@phylopic/ui:dev: src/hooks/useStoredState.ts(1,37): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/hooks/useNomenText.ts(1,23): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/hooks/useNomenText.ts(9,24): error TS7006: Parameter 'part' implicitly has an 'any' type.
@phylopic/ui:dev: src/hooks/useNomenText.ts(9,30): error TS7006: Parameter 'index' implicitly has an 'any' type.
@phylopic/ui:dev: src/hooks/useNomenText.ts(9,37): error TS7006: Parameter 'array' implicitly has an 'any' type.
@phylopic/ui:dev: src/hooks/useNomenText.ts(17,25): error TS7031: Binding element 'text' implicitly has an 'any' type.
@phylopic/ui:dev:
@phylopic/ui:dev: src/hooks/useLicenseText.ts(1,72): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/views/AuthorizedNamespaceView/index.tsx(1,42): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/SearchContainer/index.tsx(1,30): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev: src/search/SearchContainer/index.tsx(23,11): error TS2488: Type 'string | number | boolean | ServerContextJSONArray | { [key: string]: ServerContextJSONValue; }' must have a '[Symbol.iterator]()' method that returns an iterator.
@phylopic/ui:dev:
@phylopic/ui:dev: src/views/ImageRasterView/index.tsx(2,37): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/views/NomenView/index.tsx(1,23): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/views/NomenView/index.tsx(18,28): error TS7006: Parameter 'part' implicitly has an 'any' type.
@phylopic/ui:dev: src/views/NomenView/index.tsx(18,34): error TS7006: Parameter 'index' implicitly has an 'any' type.
@phylopic/ui:dev: src/views/NomenView/index.tsx(18,41): error TS7006: Parameter 'array' implicitly has an 'any' type.
@phylopic/ui:dev: src/views/NomenView/index.tsx(32,53): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Partial<Record<"main" | NomenPartClass, string>>'.
@phylopic/ui:dev: src/views/NomenView/index.tsx(36,25): error TS7006: Parameter 'part' implicitly has an 'any' type.
@phylopic/ui:dev: src/views/NomenView/index.tsx(36,31): error TS7006: Parameter 'index' implicitly has an 'any' type.
@phylopic/ui:dev: src/views/NomenView/index.tsx(40,42): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Partial<Record<"main" | NomenPartClass, string>>'.
@phylopic/ui:dev: src/views/NomenView/index.tsx(43,50): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Partial<Record<"main" | NomenPartClass, string>>'.
@phylopic/ui:dev:
@phylopic/ui:dev: src/views/TimestampView/index.tsx(1,30): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/context/actions.ts(2,48): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/hooks/useExternalResolutions.ts(1,62): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/hooks/useQueryFetcher.ts(1,31): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/hooks/useMatches.ts(1,32): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/swr/data/ImageContainer.tsx(2,22): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/swr/data/DataContainer.tsx(1,42): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/swr/data/DataContainer.tsx(2,45): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/swr/data/NodeContainer.tsx(2,22): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/swr/data/ContributorContainer.tsx(2,22): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/swr/pagination/PaginationContainer.tsx(2,42): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/swr/pagination/PaginationContainer.tsx(3,45): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/swr/pagination/createPageKeyGetter.ts(2,42): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/opentreeoflife.org/OTOLAutocomplete.ts(1,35): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/eol.org/EOLSearch.ts(1,30): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/search/sources/eol.org/EOLSearch.ts(2,35): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/opentreeoflife.org/OTOLResolve.tsx(2,30): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/search/sources/opentreeoflife.org/OTOLResolve.tsx(3,49): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/paleobiodb.org/PBDBAutocomplete.ts(1,30): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/search/sources/paleobiodb.org/PBDBAutocomplete.ts(2,35): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/gbif.org/GBIFResolve.tsx(2,51): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/search/sources/gbif.org/GBIFResolve.tsx(3,49): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev: src/search/sources/gbif.org/GBIFResolve.tsx(23,57): error TS7006: Parameter 'url' implicitly has an 'any' type.
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/paleobiodb.org/PBDBResolve.tsx(2,49): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev: src/search/sources/paleobiodb.org/PBDBResolve.tsx(10,30): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/phylopic.org/PhyloPicAutocomplete.ts(2,68): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/search/sources/phylopic.org/PhyloPicAutocomplete.ts(3,45): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/phylopic.org/PhyloPicImageSearch.ts(2,37): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/search/sources/phylopic.org/PhyloPicImageSearch.ts(3,30): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/ui:dev: src/search/sources/phylopic.org/PhyloPicNodeSearch.ts(2,42): error TS7016: Could not find a declaration file for module '@phylopic/utils'. '/Users/alexwlchan/repos/phylopic/packages/utils/dist/index.mjs' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils';`
@phylopic/ui:dev: src/search/sources/phylopic.org/PhyloPicNodeSearch.ts(3,30): error TS7016: Could not find a declaration file for module '@phylopic/utils-api'. '/Users/alexwlchan/repos/phylopic/packages/utils-api/dist/index.js' implicitly has an 'any' type.
@phylopic/ui:dev:   Try `npm i --save-dev @types/phylopic__utils-api` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-api';`
@phylopic/ui:dev:
@phylopic/source-client:dev: src/api/handleAPIError.ts(2,28): error TS7016: Could not find a declaration file for module '@phylopic/utils-aws'. '/Users/alexwlchan/repos/phylopic/packages/utils-aws/dist/index.js' implicitly has an 'any' type.
@phylopic/source-client:dev:   Try `npm i --save-dev @types/phylopic__utils-aws` if it exists or add a new declaration (.d.ts) file containing `declare module '@phylopic/utils-aws';`
@phylopic/source-client:dev: src/api/handleAPIError.ts(12,20): error TS18046: 'e' is of type 'unknown'.
@phylopic/source-client:dev:
@phylopic/source-client:dev: DTS Build failed
@phylopic/source-client:dev: Error: error occured in dts build
@phylopic/source-client:dev:     at Worker.<anonymous> (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/index.js:2693:26)
@phylopic/source-client:dev:     at Worker.emit (node:events:507:28)
@phylopic/source-client:dev:     at MessagePort.<anonymous> (node:internal/worker:267:53)
@phylopic/source-client:dev:     at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
@phylopic/source-client:dev:     at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
@phylopic/source-client:dev: RollupError: [plugin dts] src/api/handleAPIError.ts: Failed to compile. Check the logs above.
@phylopic/source-client:dev:     at getRollupError (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:282:41)
@phylopic/source-client:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/parseAst.js:278:42)
@phylopic/source-client:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:813:32)
@phylopic/source-client:dev:     at Object.error (/Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:19597:42)
@phylopic/source-client:dev:     at generateDtsFromTs (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7776:22)
@phylopic/source-client:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:59
@phylopic/source-client:dev:     at _nullishCoalesce (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:1:198)
@phylopic/source-client:dev:     at Object.transform (/Users/alexwlchan/repos/phylopic/node_modules/tsup/dist/rollup.js:7783:18)
@phylopic/source-client:dev:     at /Users/alexwlchan/repos/phylopic/node_modules/tsup/node_modules/rollup/dist/shared/rollup.js:998:40
@phylopic/edit:dev:  ✓ Ready in 1642ms
@phylopic/api:dev: (node:33669) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
@phylopic/api:dev: (Use `node --trace-deprecation ...` to show where the warning was created)
@phylopic/api:dev: Environment: darwin, node 23.6.1, framework 3.38.0 (local), plugin 7.2.3, SDK 4.5.1
@phylopic/api:dev: Docs:        docs.serverless.com
@phylopic/api:dev: Support:     forum.serverless.com
@phylopic/api:dev: Bugs:        github.com/serverless/serverless/issues
@phylopic/api:dev:
@phylopic/api:dev: Error:
@phylopic/api:dev: TypeError: Cannot redefine property: _serverlessExternalPluginName
@phylopic/api:dev:     at Function.defineProperty (<anonymous>)
@phylopic/api:dev:     at PluginManager.resolveServicePlugins (/Users/alexwlchan/repos/phylopic/node_modules/serverless/lib/classes/plugin-manager.js:230:14)
@phylopic/api:dev:     at async PluginManager.loadAllPlugins (/Users/alexwlchan/repos/phylopic/node_modules/serverless/lib/classes/plugin-manager.js:136:36)
@phylopic/api:dev:     at async Serverless.init (/Users/alexwlchan/repos/phylopic/node_modules/serverless/lib/serverless.js:146:5)
@phylopic/api:dev:     at async /Users/alexwlchan/repos/phylopic/node_modules/serverless/scripts/serverless.js:601:7
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@phylopic/api:dev: command finished with error, but continuing...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions