You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the following declaration error during the Docker build process. This happened in two places: bot-engine:build and builder:build. The error was only fatal during the builder:build step.
builder:build: info - Checking validity of types...
builder:build: Failed to compile.
builder:build:
builder:build: ./components/auth/SocialLoginButtons.tsx:6:27
builder:build: Type error: Could not find a declaration file for module 'qs'. '/app/node_modules/qs/lib/index.js' implicitly has an 'any' type.
builder:build: Try `npm i --save-dev @types/qs` if it exists or add a new declaration (.d.ts) file containing `declare module 'qs';`
builder:build:
builder:build: 4 | import { useRouter } from 'next/router'
builder:build: 5 | import React from 'react'
builder:build: > 6 | import { stringify } from 'qs'
builder:build: | ^
builder:build: 7 | import { FacebookLogo, GoogleLogo } from 'assets/logos'
builder:build: 8 |
builder:build: 9 | export const SocialLoginButtons = () => {
builder:build: error Command failed with exit code 1.
builder:build: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
builder:build: Error: command finished with error: command (apps/builder) yarn run build exited (1)
command (apps/builder) yarn run build exited (1)
bot-engine:build: cache miss, executing 2e4d68d48ed032ad
bot-engine:build: $ yarn rollup -c
bot-engine:build: $ /app/node_modules/.bin/rollup -c
bot-engine:build:
bot-engine:build: src/index.ts → dist/cjs/index.js, dist/esm/index.js...
bot-engine:build: (!) Plugin typescript: @rollup/plugin-typescript TS7016: Could not find a declaration file for module 'qs'. '/app/node_modules/qs/lib/index.js' implicitly has an 'any' type.
bot-engine:build: Try `npm i --save-dev @types/qs` if it exists or add a new declaration (.d.ts) file containing `declare module 'qs';`
bot-engine:build: src/services/integration.ts: (20:27)
bot-engine:build:
bot-engine:build: 20 import { stringify } from 'qs'
bot-engine:build: ~~~~
bot-engine:build:
To allow the build process to finish, I added the following to apps/builder/tsconfig.json:
I encountered the following declaration error during the Docker build process. This happened in two places: bot-engine:build and builder:build. The error was only fatal during the builder:build step.
To allow the build process to finish, I added the following to apps/builder/tsconfig.json:
teq-dev@050f8c7
I also encountered the following Type error during the builder:build process:
To allow the build process to finish, I updated apps/builder/services/graph.ts as follows:
teq-dev@03ebdd5
After these changes, the Docker build was successful!
The text was updated successfully, but these errors were encountered: