[GH-ISSUE #3434] [bug]: │ error TS2688: Cannot find type definition file for 'accepts'. │ The file is in the program because: │ Entry point for implicit type library 'accepts' #1158

Open
opened 2026-03-16 18:52:58 +03:00 by kerem · 2 comments
Owner

Originally created by @skywsp on GitHub (Oct 8, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3434

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

OS 名称:          Microsoft Windows 11 家庭中文版
OS 版本:          10.0.22621 暂缺 Build 22621
系统制造商:       LENOVO
系统型号:         21A2
系统类型:         x64-based PC
处理器:           安装了 1 个处理器。
                  [01]: AMD64 Family 25 Model 80 Stepping 0 AuthenticAMD ~2301 Mhz
node -v
v18.10.0

npm -v
8.19.2

pnpm -v
8.8.0

vite -v
vite/4.4.11 win32-x64 node-v18.10.0


postgresql
PostgreSQL 16.0

When I do pnpm install on the basedir, I got the following error:

PS D:\workspace\hoppscotch> pnpm install
Debugger listening on ws://127.0.0.1:36370/9198c95b-1706-43e1-99c9-faaf5a5024a3
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Scope: all 11 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
packages/dioc prepare$ pnpm run build
│ Debugger listening on ws://127.0.0.1:36374/4416485d-a647-402c-a3d7-4ec218cb515a
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.                                                                                                                                                                 
│ > dioc@0.1.0 build D:\workspace\hoppscotch\packages\dioc                                                                                                                           
│ > vite build && tsc --emitDeclarationOnly
└─ Running...                                                                                                                                                                        
packages/codemirror-lang-graphql prepare$ rollup -c                                                                                                                                  
│ Debugger listening on ws://127.0.0.1:36386/aef5de11-d005-469b-8c54-4ed4fcfd3c51                                                                                                    
└─ Running...                                                                                                                                                                        
packages/codemirror-lang-graphql prepare$ rollup -c                                                                                                                                  
│ For help, see: https://nodejs.org/en/docs/inspector-6632-4cf7-8592-7f33a097c2ea                                                                                                    
└─ Running...                                                                                                                                                                        
packages/codemirror-lang-graphql prepare$ rollup -c                                                                                                                                  
│ Debugger attached. on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea                                                                                                    
└─ Running...
packages/codemirror-lang-graphql prepare$ rollup -c
│ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea                                                                                                    
│ For help, see: https://nodejs.org/en/docs/inspector                                                                                                                                
│ Debugger attached. on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05                                                                                                    
│ Browserslist: caniuse-lite is outdated. Please run:
│   npx browserslist@latest --update-db
│   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating                                                                              
└─ Running...                                                                                                                                                                        
packages/hoppscotch-ui postinstall$ pnpm run build                                                                                                                                   
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05
│ vite v4.0.4 building for production...ocs/inspector                                                                                                                                
└─ Running...
packages/codemirror-lang-graphql prepare$ rollup -c
│ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea                                                                                                    
│ For help, see: https://nodejs.org/en/docs/inspector-9531-474c-a521-12e2c1369b62
│ Debugger attached.
│ Browserslist: caniuse-lite is outdated. Please run:                                                                                                                                
│   npx browserslist@latest --update-db
│   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
└─ Running...
packages/hoppscotch-ui postinstall$ pnpm run build
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05
│                                                                                                                                                                                    
└─ Running...                                                                                                                                                                        
packages/hoppscotch-ui postinstall$ pnpm run build                                                                                                                                   
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05
│ src/index.js → dist/index.cjs, ./dist...s/inspector-9531-474c-a521-12e2c1369b62
└─ Running...                                                                                                                                                                        
packages/hoppscotch-ui postinstall$ pnpm run build                                                                                                                                   
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05                                                                                                    
│ transforming...https://nodejs.org/en/docs/inspector-9531-474c-a521-12e2c1369b62
└─ Running...
packages/codemirror-lang-graphql prepare$ rollup -c
│ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea                                                                                                    
│ For help, see: https://nodejs.org/en/docs/inspector-9531-474c-a521-12e2c1369b62                                                                                                    
│ Debugger attached.
│ Browserslist: caniuse-lite is outdated. Please run:-3d0a-4650-8508-5ce5ff4d6aee
│   npx browserslist@latest --update-db
│   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating                                                                              
│
│ src/index.js → dist/index.cjs, ./dist...s/inspector-3d0a-4650-8508-5ce5ff4d6aee-sdl
└─ Running...
packages/hoppscotch-ui postinstall$ pnpm run build
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05                                                                                                    
│ For help, see: https://nodejs.org/en/docs/inspector-3d0a-4650-8508-5ce5ff4d6aee-sdl
│ Debugger attached.
│ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui
│ > vite build
│ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62-sdl
│ For help, see: https://nodejs.org/en/docs/inspector-921e-4376-bb7e-a4a8ee4ca2e6
│ Debugger attached.ps://nodejs.org/en/docs/inspector
└─ Running...
[1 lines collapsed]
│ Debugger listening on ws://127.0.0.1:36377/06b4d5d1-5421-4a79-b1c0-bb4d16f7db5a
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ > @hoppscotch/data@0.4.4 build:code D:\workspace\hoppscotch\packages\hoppscotch-data
│ > vite build
│ Debugger listening on ws://127.0.0.1:36389/d5ccc789-3d0a-4650-8508-5ce5ff4d6aee
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ vite v3.2.4 building for production...
│ ✓ 229 modules transformed.
└─ Running...
packages/codemirror-lang-graphql prepare$ rollup -c
│ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea                                                                                                    
│ For help, see: https://nodejs.org/en/docs/inspector.\..\node_modules\.pnpm\@prisma+client@4.16.2_prisma@4.16.2\node_modules\@prisma\client in 381ms
│ Debugger attached.
│ Browserslist: caniuse-lite is outdated. Please run:
│   npx browserslist@latest --update-db
│   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
│
│ src/index.js → dist/index.cjs, ./dist....
└─ Running...
packages/hoppscotch-ui postinstall$ pnpm run build
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui
│ > vite build
│ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
└─ Running...
│ created dist/index.cjs, ./dist in 3s run build:code && pnpm run build:decl
└─ Running...
packages/hoppscotch-ui postinstall$ pnpm run build
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05
│ For help, see: https://nodejs.org/en/docs/inspectorppscotch\packages\hoppscotch-data
│ Debugger attached.
│ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui6aee
│ > vite build
│ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
└─ Running...
│ Waiting for the debugger to disconnect...build:code && pnpm run build:decl
└─ Running...                                                                                                                                                                        
packages/hoppscotch-ui postinstall$ pnpm run build                                                                                                                                   
│ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05
│ For help, see: https://nodejs.org/en/docs/inspectorppscotch\packages\hoppscotch-data
│ Debugger attached.                                                                                                                                                                 
│ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui6aee
│ > vite build                                                                                                                                                                       
│ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62
│ For help, see: https://nodejs.org/en/docs/inspector-2796-48a5-823a-b450ed9957fd
│ Debugger attached.ps://nodejs.org/en/docs/inspector
└─ Running...                                                                                                                                                                        
└─ Done in 5.8spsed]data prepare$ pnpm run build:code && pnpm run build:decl                                                                                                         
│ computing gzip size...
│ 4ist/vue.js                  0.33 kB │ gzip: 0.24 kB
│ dist/testing.js              0.52 kB │ gzip: 0.33 kB
│ dist/index.js                1.80 kB │ gzip: 0.77 kB
[1 lines collapsed]
│ dist/vue.cjs                  0.34 kB │ gzip: 0.26 kB
│ dist/testing.cjs              0.43 kB │ gzip: 0.32 kB
│ dist/index.cjs                1.25 kB │ gzip: 0.62 kB
│ dist/container-1fe4cc86.cjs  11.09 kB │ gzip: 3.64 kB
│3Waiting for the debugger to disconnect...
│ > @hoppscotch/data@0.4.4 build:code D:\workspace\hoppscotch\packages\hoppscotch-data
│ vite v3.2.4 building for production...
└─ Running...
packages/hoppscotch-data prepare$ pnpm run build:code && pnpm run build:decl
[6 lines collapsed]
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ vite v3.2.4 building for production...
│ transforming...
│ ✓ 287 modules transformed. 34.28 KiB / gzip: 12.04 KiB
│ rendering chunks...
│ transforming...ed]ta.js   46.28 KiB / gzip: 13.39 KiB
└─ Running...
packages/hoppscotch-data prepare$ pnpm run build:code && pnpm run build:decl
[16 lines collapsed]
│ Debugger listening on ws://127.0.0.1:36412/2ca98d9b-7e74-4e93-8027-653823428dcb-data
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ > @hoppscotch/data@0.4.4 build:decl D:\workspace\hoppscotch\packages\hoppscotch-data
│ > tsc --project tsconfig.decl.json
│ Debugger listening on ws://127.0.0.1:36414/4b458a70-2297-48c9-8084-b2b9ed3360b4
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ For help, see: https://nodejs.org/en/docs/inspector
│ Waiting for the debugger to disconnect...
└─ Done in 10.3s
packages/hoppscotch-backend postinstall$ prisma generate && pnpm run generate-gql-sdl
│ Debugger listening on ws://127.0.0.1:36379/521bedc8-921e-4376-bb7e-a4a8ee4ca2e6
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ Environment variables loaded from .env
│ Prisma schema loaded from prisma\schema.prisma
│ ✔ Generated Prisma Client (4.16.2 | library) to .\..\..\node_modules\.pnpm\@prisma+client@4.16.2_prisma@4.16.2\node_modules\@prisma\client in 381ms
│ You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
│ ```
│ import { PrismaClient } from '@prisma/client'
│ const prisma = new PrismaClient()
│ ```
│ Waiting for the debugger to disconnect...
│ Debugger listening on ws://127.0.0.1:36399/87cb97a7-2796-48a5-823a-b450ed9957fd
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ > hoppscotch-backend@2023.8.1 generate-gql-sdl D:\workspace\hoppscotch\packages\hoppscotch-backend
│ > cross-env GQL_SCHEMA_EMIT_LOCATION='../../../gql-gen/backend-schema.gql' GENERATE_GQL_SCHEMA=true WHITELISTED_ORIGINS='' nest start
│ Debugger listening on ws://127.0.0.1:36404/a44d3992-9ad5-4329-831b-d5148603ae08
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ Debugger listening on ws://127.0.0.1:36410/b4aa6e6e-c81f-49df-bcc9-ed15740a47d6
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ error TS2688: Cannot find type definition file for 'accepts'.
│   The file is in the program because:
│     Entry point for implicit type library 'accepts'
│ error TS2688: Cannot find type definition file for 'babel__core'.
│   The file is in the program because:
│     Entry point for implicit type library 'babel__core'
│ error TS2688: Cannot find type definition file for 'babel__generator'.
│   The file is in the program because:
│     Entry point for implicit type library 'babel__generator'
│ error TS2688: Cannot find type definition file for 'babel__template'.
│   The file is in the program because:
│     Entry point for implicit type library 'babel__template'
│ error TS2688: Cannot find type definition file for 'babel__traverse'.
│   The file is in the program because:
│     Entry point for implicit type library 'babel__traverse'
│ error TS2688: Cannot find type definition file for 'body-parser'.
│   The file is in the program because:
│     Entry point for implicit type library 'body-parser'
│ error TS2688: Cannot find type definition file for 'connect'.
│   The file is in the program because:
│     Entry point for implicit type library 'connect'
│ error TS2688: Cannot find type definition file for 'cookiejar'.
│   The file is in the program because:
│     Entry point for implicit type library 'cookiejar'
│ error TS2688: Cannot find type definition file for 'cors'.
│   The file is in the program because:
│     Entry point for implicit type library 'cors'
│ error TS2688: Cannot find type definition file for 'ejs'.
│   The file is in the program because:
│     Entry point for implicit type library 'ejs'
│ error TS2688: Cannot find type definition file for 'eslint'.
│   The file is in the program because:
│     Entry point for implicit type library 'eslint'
│ error TS2688: Cannot find type definition file for 'eslint-scope'.
│   The file is in the program because:
│     Entry point for implicit type library 'eslint-scope'
│ error TS2688: Cannot find type definition file for 'estree'.
│   The file is in the program because:
│     Entry point for implicit type library 'estree'
│ error TS2688: Cannot find type definition file for 'express-serve-static-core'.
│   The file is in the program because:
│     Entry point for implicit type library 'express-serve-static-core'
│ error TS2688: Cannot find type definition file for 'graceful-fs'.
│   The file is in the program because:
│     Entry point for implicit type library 'graceful-fs'
│ error TS2688: Cannot find type definition file for 'http-errors'.
│   The file is in the program because:
│     Entry point for implicit type library 'http-errors'
│ error TS2688: Cannot find type definition file for 'istanbul-lib-coverage'.
│   The file is in the program because:
│     Entry point for implicit type library 'istanbul-lib-coverage'
│ error TS2688: Cannot find type definition file for 'istanbul-lib-report'.
│   The file is in the program because:
│     Entry point for implicit type library 'istanbul-lib-report'
│ error TS2688: Cannot find type definition file for 'istanbul-reports'.
│   The file is in the program because:
│     Entry point for implicit type library 'istanbul-reports'
│ error TS2688: Cannot find type definition file for 'json-schema'.
│   The file is in the program because:
│     Entry point for implicit type library 'json-schema'
│ error TS2688: Cannot find type definition file for 'jsonwebtoken'.
│   The file is in the program because:
│     Entry point for implicit type library 'jsonwebtoken'
│ error TS2688: Cannot find type definition file for 'long'.
│   The file is in the program because:
│     Entry point for implicit type library 'long'
│ error TS2688: Cannot find type definition file for 'mime'.
│   The file is in the program because:
│     Entry point for implicit type library 'mime'
│ error TS2688: Cannot find type definition file for 'oauth'.
│   The file is in the program because:
│     Entry point for implicit type library 'oauth'
│ error TS2688: Cannot find type definition file for 'parse-json'.
│   The file is in the program because:
│     Entry point for implicit type library 'parse-json'
│ error TS2688: Cannot find type definition file for 'passport'.
│   The file is in the program because:
│     Entry point for implicit type library 'passport'
│ error TS2688: Cannot find type definition file for 'passport-oauth2'.
│   The file is in the program because:
│     Entry point for implicit type library 'passport-oauth2'
│ error TS2688: Cannot find type definition file for 'passport-strategy'.
│   The file is in the program because:
│     Entry point for implicit type library 'passport-strategy'
│ error TS2688: Cannot find type definition file for 'pug'.
│   The file is in the program because:
│     Entry point for implicit type library 'pug'
│ error TS2688: Cannot find type definition file for 'qs'.
│   The file is in the program because:
│     Entry point for implicit type library 'qs'
│ error TS2688: Cannot find type definition file for 'range-parser'.
│   The file is in the program because:
│     Entry point for implicit type library 'range-parser'
│ Found 31 error(s).
│ Waiting for the debugger to disconnect...
│ Waiting for the debugger to disconnect...
│  ELIFECYCLE  Command failed with exit code 1.
│ Waiting for the debugger to disconnect...
└─ Failed in 15.5s at D:\workspace\hoppscotch\packages\hoppscotch-backend
. prepare$ husky install
│ Debugger listening on ws://127.0.0.1:36407/6d198500-90f3-4f41-ae7e-8cc06f0d1b7c
│ For help, see: https://nodejs.org/en/docs/inspector
│ Debugger attached.
│ husky - Git hooks installed
│ Waiting for the debugger to disconnect...
└─ Done in 671ms
 ELIFECYCLE  Command failed with exit code 1.
Waiting for the debugger to disconnect...

Steps to reproduce

  1. Clone repository to localhost and use main branch.
  2. Config local envment, nodejs, pnpm, vite, and so on.
  3. Rename .env.example to .env and config 'DATABASE_URL' with my local postgresql
  4. Run pnpm install
  5. See error...

Environment

Deploy preview

Version

Self-hosted

Originally created by @skywsp on GitHub (Oct 8, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3434 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior ``` OS 名称: Microsoft Windows 11 家庭中文版 OS 版本: 10.0.22621 暂缺 Build 22621 系统制造商: LENOVO 系统型号: 21A2 系统类型: x64-based PC 处理器: 安装了 1 个处理器。 [01]: AMD64 Family 25 Model 80 Stepping 0 AuthenticAMD ~2301 Mhz ``` ``` node -v v18.10.0 npm -v 8.19.2 pnpm -v 8.8.0 vite -v vite/4.4.11 win32-x64 node-v18.10.0 postgresql PostgreSQL 16.0 ``` When I do ` pnpm install ` on the basedir, I got the following error: ``` PS D:\workspace\hoppscotch> pnpm install Debugger listening on ws://127.0.0.1:36370/9198c95b-1706-43e1-99c9-faaf5a5024a3 For help, see: https://nodejs.org/en/docs/inspector Debugger attached. Scope: all 11 workspace projects Lockfile is up to date, resolution step is skipped Already up to date packages/dioc prepare$ pnpm run build │ Debugger listening on ws://127.0.0.1:36374/4416485d-a647-402c-a3d7-4ec218cb515a │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ > dioc@0.1.0 build D:\workspace\hoppscotch\packages\dioc │ > vite build && tsc --emitDeclarationOnly └─ Running... packages/codemirror-lang-graphql prepare$ rollup -c │ Debugger listening on ws://127.0.0.1:36386/aef5de11-d005-469b-8c54-4ed4fcfd3c51 └─ Running... packages/codemirror-lang-graphql prepare$ rollup -c │ For help, see: https://nodejs.org/en/docs/inspector-6632-4cf7-8592-7f33a097c2ea └─ Running... packages/codemirror-lang-graphql prepare$ rollup -c │ Debugger attached. on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea └─ Running... packages/codemirror-lang-graphql prepare$ rollup -c │ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ Browserslist: caniuse-lite is outdated. Please run: │ npx browserslist@latest --update-db │ Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ vite v4.0.4 building for production...ocs/inspector └─ Running... packages/codemirror-lang-graphql prepare$ rollup -c │ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea │ For help, see: https://nodejs.org/en/docs/inspector-9531-474c-a521-12e2c1369b62 │ Debugger attached. │ Browserslist: caniuse-lite is outdated. Please run: │ npx browserslist@latest --update-db │ Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ src/index.js → dist/index.cjs, ./dist...s/inspector-9531-474c-a521-12e2c1369b62 └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ transforming...https://nodejs.org/en/docs/inspector-9531-474c-a521-12e2c1369b62 └─ Running... packages/codemirror-lang-graphql prepare$ rollup -c │ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea │ For help, see: https://nodejs.org/en/docs/inspector-9531-474c-a521-12e2c1369b62 │ Debugger attached. │ Browserslist: caniuse-lite is outdated. Please run:-3d0a-4650-8508-5ce5ff4d6aee │ npx browserslist@latest --update-db │ Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating │ │ src/index.js → dist/index.cjs, ./dist...s/inspector-3d0a-4650-8508-5ce5ff4d6aee-sdl └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ For help, see: https://nodejs.org/en/docs/inspector-3d0a-4650-8508-5ce5ff4d6aee-sdl │ Debugger attached. │ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui │ > vite build │ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62-sdl │ For help, see: https://nodejs.org/en/docs/inspector-921e-4376-bb7e-a4a8ee4ca2e6 │ Debugger attached.ps://nodejs.org/en/docs/inspector └─ Running... [1 lines collapsed] │ Debugger listening on ws://127.0.0.1:36377/06b4d5d1-5421-4a79-b1c0-bb4d16f7db5a │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ > @hoppscotch/data@0.4.4 build:code D:\workspace\hoppscotch\packages\hoppscotch-data │ > vite build │ Debugger listening on ws://127.0.0.1:36389/d5ccc789-3d0a-4650-8508-5ce5ff4d6aee │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ vite v3.2.4 building for production... │ ✓ 229 modules transformed. └─ Running... packages/codemirror-lang-graphql prepare$ rollup -c │ Debugger listening on ws://127.0.0.1:36375/18b65cf7-6632-4cf7-8592-7f33a097c2ea │ For help, see: https://nodejs.org/en/docs/inspector.\..\node_modules\.pnpm\@prisma+client@4.16.2_prisma@4.16.2\node_modules\@prisma\client in 381ms │ Debugger attached. │ Browserslist: caniuse-lite is outdated. Please run: │ npx browserslist@latest --update-db │ Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating │ │ src/index.js → dist/index.cjs, ./dist.... └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui │ > vite build │ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62 │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. └─ Running... │ created dist/index.cjs, ./dist in 3s run build:code && pnpm run build:decl └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ For help, see: https://nodejs.org/en/docs/inspectorppscotch\packages\hoppscotch-data │ Debugger attached. │ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui6aee │ > vite build │ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62 │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. └─ Running... │ Waiting for the debugger to disconnect...build:code && pnpm run build:decl └─ Running... packages/hoppscotch-ui postinstall$ pnpm run build │ Debugger listening on ws://127.0.0.1:36376/427171d7-b058-46d9-a6d1-5a6aa4bc8e05 │ For help, see: https://nodejs.org/en/docs/inspectorppscotch\packages\hoppscotch-data │ Debugger attached. │ > @hoppscotch/ui@0.0.1 build D:\workspace\hoppscotch\packages\hoppscotch-ui6aee │ > vite build │ Debugger listening on ws://127.0.0.1:36388/d8957a5c-9531-474c-a521-12e2c1369b62 │ For help, see: https://nodejs.org/en/docs/inspector-2796-48a5-823a-b450ed9957fd │ Debugger attached.ps://nodejs.org/en/docs/inspector └─ Running... └─ Done in 5.8spsed]data prepare$ pnpm run build:code && pnpm run build:decl │ computing gzip size... │ 4ist/vue.js 0.33 kB │ gzip: 0.24 kB │ dist/testing.js 0.52 kB │ gzip: 0.33 kB │ dist/index.js 1.80 kB │ gzip: 0.77 kB [1 lines collapsed] │ dist/vue.cjs 0.34 kB │ gzip: 0.26 kB │ dist/testing.cjs 0.43 kB │ gzip: 0.32 kB │ dist/index.cjs 1.25 kB │ gzip: 0.62 kB │ dist/container-1fe4cc86.cjs 11.09 kB │ gzip: 3.64 kB │3Waiting for the debugger to disconnect... │ > @hoppscotch/data@0.4.4 build:code D:\workspace\hoppscotch\packages\hoppscotch-data │ vite v3.2.4 building for production... └─ Running... packages/hoppscotch-data prepare$ pnpm run build:code && pnpm run build:decl [6 lines collapsed] │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ vite v3.2.4 building for production... │ transforming... │ ✓ 287 modules transformed. 34.28 KiB / gzip: 12.04 KiB │ rendering chunks... │ transforming...ed]ta.js 46.28 KiB / gzip: 13.39 KiB └─ Running... packages/hoppscotch-data prepare$ pnpm run build:code && pnpm run build:decl [16 lines collapsed] │ Debugger listening on ws://127.0.0.1:36412/2ca98d9b-7e74-4e93-8027-653823428dcb-data │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ > @hoppscotch/data@0.4.4 build:decl D:\workspace\hoppscotch\packages\hoppscotch-data │ > tsc --project tsconfig.decl.json │ Debugger listening on ws://127.0.0.1:36414/4b458a70-2297-48c9-8084-b2b9ed3360b4 │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ For help, see: https://nodejs.org/en/docs/inspector │ Waiting for the debugger to disconnect... └─ Done in 10.3s packages/hoppscotch-backend postinstall$ prisma generate && pnpm run generate-gql-sdl │ Debugger listening on ws://127.0.0.1:36379/521bedc8-921e-4376-bb7e-a4a8ee4ca2e6 │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ Environment variables loaded from .env │ Prisma schema loaded from prisma\schema.prisma │ ✔ Generated Prisma Client (4.16.2 | library) to .\..\..\node_modules\.pnpm\@prisma+client@4.16.2_prisma@4.16.2\node_modules\@prisma\client in 381ms │ You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client │ ``` │ import { PrismaClient } from '@prisma/client' │ const prisma = new PrismaClient() │ ``` │ Waiting for the debugger to disconnect... │ Debugger listening on ws://127.0.0.1:36399/87cb97a7-2796-48a5-823a-b450ed9957fd │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ > hoppscotch-backend@2023.8.1 generate-gql-sdl D:\workspace\hoppscotch\packages\hoppscotch-backend │ > cross-env GQL_SCHEMA_EMIT_LOCATION='../../../gql-gen/backend-schema.gql' GENERATE_GQL_SCHEMA=true WHITELISTED_ORIGINS='' nest start │ Debugger listening on ws://127.0.0.1:36404/a44d3992-9ad5-4329-831b-d5148603ae08 │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ Debugger listening on ws://127.0.0.1:36410/b4aa6e6e-c81f-49df-bcc9-ed15740a47d6 │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ error TS2688: Cannot find type definition file for 'accepts'. │ The file is in the program because: │ Entry point for implicit type library 'accepts' │ error TS2688: Cannot find type definition file for 'babel__core'. │ The file is in the program because: │ Entry point for implicit type library 'babel__core' │ error TS2688: Cannot find type definition file for 'babel__generator'. │ The file is in the program because: │ Entry point for implicit type library 'babel__generator' │ error TS2688: Cannot find type definition file for 'babel__template'. │ The file is in the program because: │ Entry point for implicit type library 'babel__template' │ error TS2688: Cannot find type definition file for 'babel__traverse'. │ The file is in the program because: │ Entry point for implicit type library 'babel__traverse' │ error TS2688: Cannot find type definition file for 'body-parser'. │ The file is in the program because: │ Entry point for implicit type library 'body-parser' │ error TS2688: Cannot find type definition file for 'connect'. │ The file is in the program because: │ Entry point for implicit type library 'connect' │ error TS2688: Cannot find type definition file for 'cookiejar'. │ The file is in the program because: │ Entry point for implicit type library 'cookiejar' │ error TS2688: Cannot find type definition file for 'cors'. │ The file is in the program because: │ Entry point for implicit type library 'cors' │ error TS2688: Cannot find type definition file for 'ejs'. │ The file is in the program because: │ Entry point for implicit type library 'ejs' │ error TS2688: Cannot find type definition file for 'eslint'. │ The file is in the program because: │ Entry point for implicit type library 'eslint' │ error TS2688: Cannot find type definition file for 'eslint-scope'. │ The file is in the program because: │ Entry point for implicit type library 'eslint-scope' │ error TS2688: Cannot find type definition file for 'estree'. │ The file is in the program because: │ Entry point for implicit type library 'estree' │ error TS2688: Cannot find type definition file for 'express-serve-static-core'. │ The file is in the program because: │ Entry point for implicit type library 'express-serve-static-core' │ error TS2688: Cannot find type definition file for 'graceful-fs'. │ The file is in the program because: │ Entry point for implicit type library 'graceful-fs' │ error TS2688: Cannot find type definition file for 'http-errors'. │ The file is in the program because: │ Entry point for implicit type library 'http-errors' │ error TS2688: Cannot find type definition file for 'istanbul-lib-coverage'. │ The file is in the program because: │ Entry point for implicit type library 'istanbul-lib-coverage' │ error TS2688: Cannot find type definition file for 'istanbul-lib-report'. │ The file is in the program because: │ Entry point for implicit type library 'istanbul-lib-report' │ error TS2688: Cannot find type definition file for 'istanbul-reports'. │ The file is in the program because: │ Entry point for implicit type library 'istanbul-reports' │ error TS2688: Cannot find type definition file for 'json-schema'. │ The file is in the program because: │ Entry point for implicit type library 'json-schema' │ error TS2688: Cannot find type definition file for 'jsonwebtoken'. │ The file is in the program because: │ Entry point for implicit type library 'jsonwebtoken' │ error TS2688: Cannot find type definition file for 'long'. │ The file is in the program because: │ Entry point for implicit type library 'long' │ error TS2688: Cannot find type definition file for 'mime'. │ The file is in the program because: │ Entry point for implicit type library 'mime' │ error TS2688: Cannot find type definition file for 'oauth'. │ The file is in the program because: │ Entry point for implicit type library 'oauth' │ error TS2688: Cannot find type definition file for 'parse-json'. │ The file is in the program because: │ Entry point for implicit type library 'parse-json' │ error TS2688: Cannot find type definition file for 'passport'. │ The file is in the program because: │ Entry point for implicit type library 'passport' │ error TS2688: Cannot find type definition file for 'passport-oauth2'. │ The file is in the program because: │ Entry point for implicit type library 'passport-oauth2' │ error TS2688: Cannot find type definition file for 'passport-strategy'. │ The file is in the program because: │ Entry point for implicit type library 'passport-strategy' │ error TS2688: Cannot find type definition file for 'pug'. │ The file is in the program because: │ Entry point for implicit type library 'pug' │ error TS2688: Cannot find type definition file for 'qs'. │ The file is in the program because: │ Entry point for implicit type library 'qs' │ error TS2688: Cannot find type definition file for 'range-parser'. │ The file is in the program because: │ Entry point for implicit type library 'range-parser' │ Found 31 error(s). │ Waiting for the debugger to disconnect... │ Waiting for the debugger to disconnect... │  ELIFECYCLE  Command failed with exit code 1. │ Waiting for the debugger to disconnect... └─ Failed in 15.5s at D:\workspace\hoppscotch\packages\hoppscotch-backend . prepare$ husky install │ Debugger listening on ws://127.0.0.1:36407/6d198500-90f3-4f41-ae7e-8cc06f0d1b7c │ For help, see: https://nodejs.org/en/docs/inspector │ Debugger attached. │ husky - Git hooks installed │ Waiting for the debugger to disconnect... └─ Done in 671ms  ELIFECYCLE  Command failed with exit code 1. Waiting for the debugger to disconnect... ``` ### Steps to reproduce 1. Clone repository to localhost and use main branch. 2. Config local envment, nodejs, pnpm, vite, and so on. 3. Rename .env.example to .env and config 'DATABASE_URL' with my local postgresql 4. Run pnpm install 5. See error... ### Environment Deploy preview ### Version Self-hosted
Author
Owner

@Prathamesh-31 commented on GitHub (Jul 25, 2024):

Is This Error Resolved?

<!-- gh-comment-id:2250095487 --> @Prathamesh-31 commented on GitHub (Jul 25, 2024): Is This Error Resolved?
Author
Owner

@james-skills commented on GitHub (Dec 4, 2024):

Please install @types/:dependency_names using pnpm

<!-- gh-comment-id:2517625543 --> @james-skills commented on GitHub (Dec 4, 2024): Please install @types/:dependency_names using pnpm
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1158
No description provided.