Untitled
unknown
plain_text
2 years ago
3.5 kB
16
Indexable
-----> Building on the Heroku-22 stack
-----> Determining which buildpack to use for this app
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): unspecified
engines.npm (package.json): unspecified (use default)
Resolving node version 20.x...
Downloading and installing node 20.11.0...
Using default npm version: 10.2.4
-----> Installing dependencies
Installing node modules
added 174 packages, and audited 175 packages in 3s
16 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 10.2.4 -> 10.4.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
npm notice Run `npm install -g npm@10.4.0` to update!
npm notice
-----> Build
Running build
> telegram-forwarder-bot@1.0.0 build
> tsc src/index.ts --outDir dist/
node_modules/@redis/client/dist/lib/client/commands-queue.d.ts(27,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/client/dist/lib/client/index.d.ts(92,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/client/dist/lib/client/multi-command.d.ts(25,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/client/dist/lib/client/pub-sub.d.ts(17,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/client/dist/lib/client/socket.d.ts(39,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/client/dist/lib/cluster/cluster-slots.d.ts(37,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/client/dist/lib/cluster/index.d.ts(46,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/client/dist/lib/cluster/multi-command.d.ts(25,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/@redis/graph/dist/graph.d.ts(15,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
node_modules/grammy/out/core/client.d.ts(1,23): error TS2688: Cannot find type definition file for 'node-fetch'.
src/index.ts(6,8): error TS1259: Module '"/tmp/build_93591ba1/node_modules/@types/express/index"' can only be default-imported using the 'esModuleInterop' flag
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys
Some possible problems:
- Node version not specified in package.json
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
Love,
Heroku
! Push rejected, failed to compile Node.js app.
! Push failedEditor is loading...
Leave a Comment