We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't install the telegraf v5 from github using npm
npm install "https://github.com/telegraf/telegraf#v5"
the package installed
the package prepare error
npm ERR! code 2 npm ERR! git dep preparation failed npm ERR! command /home/ibrohim/.nvm/versions/node/v21.6.1/bin/node /home/ibrohim/.nvm/versions/node/v21.6.1/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/ibrohim/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! > [email protected] prepare npm ERR! > npm run --silent build npm ERR! npm ERR! src/composer.ts(514,21): error TS18048: 'ctx.message' is possibly 'undefined'. npm ERR! src/composer.ts(514,33): error TS2339: Property 'entities' does not exist on type 'New & NonChannel & Message'. npm ERR! Property 'entities' does not exist on type 'New & NonChannel & ChannelChatCreatedMessage'. npm ERR! src/composer.ts(517,29): error TS18048: 'ctx.message' is possibly 'undefined'. npm ERR! src/composer.ts(517,41): error TS2339: Property 'text' does not exist on type 'New & NonChannel & Message'. npm ERR! Property 'text' does not exist on type 'New & NonChannel & ChannelChatCreatedMessage'. npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm ERR! code 2 npm ERR! npm ERR! path /home/ibrohim/.npm/_cacache/tmp/git-cloneXXXXXXCIFsEn npm ERR! npm ERR! command failed npm ERR! npm ERR! command sh -c npm run --silent build npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: /home/ibrohim/.npm/_logs/2024-04-22T10_41_22_774Z-debug-0.log npm ERR! A complete log of this run can be found in: /home/ibrohim/.npm/_logs/2024-04-22T10_41_17_739Z-debug-0.log
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
I can't install the telegraf v5 from github using npm
Minimal Example Code Reproducing the Issue
npm install "https://github.com/telegraf/telegraf#v5"
Expected Behavior
the package installed
Current Behavior
the package prepare error
Error Message and Logs
The text was updated successfully, but these errors were encountered: