Untitled
unknown
plain_text
3 years ago
890 B
10
Indexable
(node:9508) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use `node --trace-warnings ...` to show where the warning was created) C:\Users\Utente2\Desktop\DragonOTPbot\index.js:1 import { Telegraf } from "telegraf" ^^^^^^ SyntaxError: Cannot use import statement outside a module at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1027:15) at Module._compile (node:internal/modules/cjs/loader:1063:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 Node.js v17.9.0
Editor is loading...