Error with the Command "oynat" - Action #2 (Store Audio Info): TypeError: Cannot read properties of undefined (reading 'undefined')
at Object.action [as Store Audio Info] (C:\Users\baran\OneDrive\Masaüstü\poglymuzik-main\actions\store_audio_info_MOD.js:311:37)
at Object.Actions.callNextAction (C:\Users\baran\OneDrive\Masaüstü\poglymuzik-main\bot.js:1469:21)
at Object.action [as Store Message Params] (C:\Users\baran\OneDrive\Masaüstü\poglymuzik-main\actions\store_message_params_MOD.js:258:10)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I tried everything but i can't solve this error. Can somebody help me?
Related
Recently I started getting this warning in the console after adding the ios app to firebase project. Deleted and recreated all apps still not solving the issue of map loading
[Unhandled promise rejection: Error: Fetching the token failed: Please set your Project ID. A valid Firebase Project ID is required to communicate with Firebase server APIs: It identifies your application with Firebase.Please refer to https://firebase.google.com/support/privacy/init-options.]
at \node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:104:50 in promiseMethodWrapper
at \node_modules\expo-modules-core\build\NativeModulesProxy.native.js:27:27 in moduleName.methodInfo.name
at \node_modules\css-select\lib\compile.js:5:0 in
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:86:13 in tryCatch
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:66:31 in
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:86:13 in tryCatch
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:124:27 in invoke
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:148:16 in PromiseImpl$argument_0
at \node_modules\promise\setimmediate\core.js:45:6 in tryCallTwo
at \node_modules\promise\setimmediate\core.js:200:22 in doResolve
at \node_modules\promise\setimmediate\core.js:66:11 in Promise
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:147:15 in callInvokeWithMethodAndArg
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:152:154 in _invoke
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:238:57 in exports.async
at \node_modules\css-select\node_modules\domutils\lib\helpers.js:128:3 in exports.uniqueSort
at \node_modules\css-select\lib\compile.js:118:47 in compileRules
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:86:13 in tryCatch
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:66:31 in
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:86:13 in tryCatch
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:124:27 in invoke
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:148:16 in PromiseImpl$argument_0
at \node_modules\promise\setimmediate\core.js:45:6 in tryCallTwo
at \node_modules\promise\setimmediate\core.js:200:22 in doResolve
at \node_modules\promise\setimmediate\core.js:66:11 in Promise
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:147:15 in callInvokeWithMethodAndArg
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:152:154 in _invoke
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:238:57 in exports.async
at \node_modules\css-select\lib\compile.js:103:17 in token.map$argument_0
at \node_modules\expo-notifications\build\scheduleNotificationAsync.js:182:12 in components.forEach$argument_0
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:86:13 in tryCatch
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:66:31 in
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:86:13 in tryCatch
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:124:27 in invoke
at \node_modules#babel\runtime\helpers\regeneratorRuntime.js:130:16 in PromiseImpl.resolve.then$argument_0
at \node_modules\promise\setimmediate\core.js:37:13 in tryCallOne
at \node_modules\promise\setimmediate\core.js:123:24 in setImmediate$argument_0
at \node_modules\react-native\Libraries\Core\Timers\JSTimers.js:123:14 in _callTimer
at \node_modules\react-native\Libraries\Core\Timers\JSTimers.js:177:14 in _callImmediatesPass
at \node_modules\react-native\Libraries\Core\Timers\JSTimers.js:437:30 in callImmediates
at \node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:388:6 in __callImmediates
at \node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:132:6 in __guard$argument_0
at \node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:365:10 in __guard
at \node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:131:4 in flushedQueue
If you got the promise handle first use async await or try catch in your code where you call the data. And then use console to track the error.
If you still got error after this, just lemme know i will help you fix the errors.
Thanks
my console is not displaying information of API used
the info tab is showing this
TypeError: url.indexOf is not a function
at buildURL (buildURL.js:61:1)
at dispatchXhrRequest (xhr.js:46:1)
at new Promise (<anonymous>)
at xhrAdapter (xhr.js:16:1)
at dispatchRequest (dispatchRequest.js:58:1)
at Axios.request (Axios.js:109:1)
at Axios.<computed> [as get] (Axios.js:131:1)
at Function.wrap [as get] (bind.js:9:1)
at getPlacesData (index.js:24:1)
at App.js:14:1
I am not able to understand where I went wrong
So i went to start my discord.js bot and then this error shown.
throw new RangeError('BITFIELD_INVALID', bit);
^
RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number: undefined.
at Function.resolve (/home/container/node_modules/discord.js/src/util/BitField.js:152:11)
at /home/container/node_modules/discord.js/src/util/BitField.js:147:54
at Array.map (<anonymous>)
at Function.resolve (/home/container/node_modules/discord.js/src/util/BitField.js:147:40)
at Client._validateOptions (/home/container/node_modules/discord.js/src/client/Client.js:546:33)
at new Client (/home/container/node_modules/discord.js/src/client/Client.js:73:10)
at Object.<anonymous> (/home/container/index.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32) {
[Symbol(code)]: 'BITFIELD_INVALID'}
Can anyone help at all, a list of my commands can be found at https://github.com/Makuta24/commands
Thanks in advance! Ps i do not know what code made this error occur therefor i linked all of the commands on the server, sorry.
An error I noticed on your code, is that you are requesting permissions with the hasPermission() modal. In v13 (version I suppose you are using), this modal is deprecated.
Here is a solution that may work for you:
const { MessageEmbed, Permissions } = require('discord.js');
if (!message.member.permissions.has([Permissions.FLAGS.MANAGE_CHANNELS])) {
return message.channel.send('Wait, you cannot lock channels!')
}
What I am doing here is requesting the Permissions object from the Discord.js library, to use it with your chosen flag (FLAGS.MANAGE_CHANNELS), and then checking if it has the flag you expect with the has() modal.
This is only what I saw on the command's code, though. Your error log shows an error on index.js:4:16, so it may be a good idea to share your index.js file to see if there are other errors present on it.
I am running my tests using selenium-webdriver, randomly some intermediate test fail with "Error: Server terminated early with status 69" and then it continues fine for next test.
So I wish to know,
where should I look for the meaning of status code 69
if it means Unhandled error (as on next line), what can I do further to debug the cause
thx
console.error node_modules/jest-jasmine2/build/jasmine/Env.js:157
Unhandled error
console.error node_modules/jest-jasmine2/build/jasmine/Env.js:158
Error: Server terminated early with status 69
at earlyTermination.catch.e (PATH\node_modules\selenium-webdriver\remote\index.js:252:52)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
From: Task: WebDriver.createSession()
at Function.createSession (PATH\node_modules\selenium-webdriver\lib\webdriver.js:769:24)
at Function.createSession (PATH\node_modules\selenium-webdriver\firefox\index.js:521:41)
at createDriver (PATH\node_modules\selenium-webdriver\index.js:170:33)
at Builder.build (PATH\node_modules\selenium-webdriver\index.js:645:16)
at Object.get (PATH\src\setup\web\driver.ts:13:9)
at Object.<anonymous> (PATH\src\setup\web\setup.ts:9:19)
at Generator.next (<anonymous>)
at PATH\src\setup\web\setup.ts:7:71
at new Promise (<anonymous>)
at Object.<anonymous>.__awaiter (PATH\src\setup\web\setup.ts:3:12)
at Object.beforeAll (PATH\src\setup\web\setup.ts:18:12)
at Object.<anonymous> (PATH\src\setup\common.ts:215:17)
at Generator.next (<anonymous>)
at PATH\src\setup\common.ts:7:71
at new Promise (<anonymous>)
at Object.<anonymous>.__awaiter (PATH\src\setup\common.ts:3:12)
at Object.<anonymous>.beforeAll (PATH\src\setup\common.ts:213:22)
at Object.asyncJestLifecycle (PATH2\node_modules\jest-jasmine2\build\jasmine_async.js:63:37)
at resolve (PATH2\node_modules\jest-jasmine2\build\queue_runner.js:56:12)
at new Promise (<anonymous>)
at mapper (PATH2\node_modules\jest-jasmine2\build\queue_runner.js:43:19)
at promise.then (PATH2\node_modules\jest-jasmine2\build\queue_runner.js:87:41)
at <anonymous>
I am using React-Relay. I am doing a mutation which returns errors which is totally fine but at the end I am getting following error in console which is related to react-relay library.
Uncaught Error: No data returned for operation `CreateUserMutation`, got error(s):
A unique constraint would be violated on User. Details: Field name = email
See the error `source` property for more information.
at createError (RelayError.js:44)
at Object.create (RelayError.js:29)
at normalizePayload (normalizePayload.js:31)
at Object.next (RelayModernEnvironment.js:245)
at Object.next (RelayObservable.js:223)
at Object.next (RelayObservable.js:561)
at Object.next (RelayObservable.js:561)
at RelayObservable.js:492
at _subscribe (RelayObservable.js:609)
at RelayObservable.subscribe (RelayObservable.js:315)
at Object.next (RelayObservable.js:376)
at Object.next (RelayObservable.js:561)
at RelayObservable.js:484
Any idea how we can catch/avoid it?