XMLHttpRequest error in ReactNative Debug mode - javascript

I delete my android emulator and create a new one after this when i build my react native project and active debug mode this error appears on emulator but i dont have any problems with Previous emulator :
Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8083/create_session'.
and this on browser's console :
Must first create RPC session with a valid host
what should i do?

Related

Trying to use Amplify withAuthenticator, throwing error?

I am trying to sign in on AWS amplify using the withAuthenticator. I am able to make an account but as soon as I try to log in with the correct credentials I always encounter this error.
I am running the app on Expo ios device and the user is saved in cognito. It won't let me sign in and I keep getting this error though.
[ERROR] 49:25.730 AuthClass - Failed to get the signed in user, [Error: Failed to create storage directory.Error Domain=NSCocoaErrorDomain Code=512 "The file “ExponentExperienceData” couldn’t be saved in the folder “Documents”." UserInfo={NSFilePath=/Users/****/Library/Developer/CoreSimulator/Devices/A8619F07-3B7B-47DE-BD92-21B3E8FAB9CE/data/Containers/Data/Application/7CAFFBF4-B523-4E2F-B108-94B0940675C1/Documents/ExponentExperienceData, NSUnderlyingError=0x600002749dd0 {Error Domain=NSPOSIXErrorDomain Code=20 "Not a directory"}}]
at node_modules/#aws-amplify/core/lib-esm/Logger/ConsoleLogger.js:99:15 in prototype._log
at node_modules/#aws-amplify/core/lib-esm/Logger/ConsoleLogger.js:170:23 in prototype.error
at node_modules/#aws-amplify/auth/lib-esm/Auth.js:520:40 in __generator$argument_1
at node_modules/#aws-amplify/auth/node_modules/tslib/tslib.js:141:30 in step
at node_modules/#aws-amplify/auth/node_modules/tslib/tslib.js:122:60 in <anonymous>
at node_modules/#aws-amplify/auth/node_modules/tslib/tslib.js:113:68 in rejected
I have tried creating new accounts as well as trying to use another device. I get the same error.

Uncaught Reference Error : process is not defined

I am getting process is not defined error while running the react app.
I'm getting this error whenever I do the following steps :
Run npm run start (react-scripts start)
Edit the code and save it
The error message is displayed on the browser's console and the application is frozen.

Failed to execute 'getStats' on 'RTCPeerConnection' on Twilio JS 1.4.16

I'm using Twilio on an Electron app, currently the chrome version it uses is 56. I've upgraded my twilio version from 1.3 to 1.4.16. When I start an audio call, everything goes fine, however I get an error on console that might be related to RTC statistics. That's the error:
Uncaught (in promise) TypeError: Failed to execute 'getStats' on 'RTCPeerConnection': No function was found that matched the signature provided.
at getStatistics (twilio.js:5011)
at RTCMonitor.getSample (twilio.js:3716)
at RTCMonitor._fetchSample (twilio.js:3732)
I couldn't find any clue about that, searching on google.

Eclipse with Webclipse - JS debugger doesn't stop at breakpoints

I'm using Eclipse 4.5 and I've installed Webclipse 2015 CI 8 and Tomcat 8.0. I'm trying to debug an example. But the debugger doesn't stop at a breakpoint. It runs through the whole file and shows
Uncaught TypeError: $(...)[methodToCall] is not a function
at doExceptions (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:180:42)
at (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:181:6)
Failed to load resource: the server responded with a status of 404 (Not Found)
Uncaught TypeError: $(...)[methodToCall] is not a function
at doExceptions (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:180:42)
at (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:181:6)
What did I do wrong?
I've installed Webclipse 2016 and I've got the same problem. Anybody knows why?
I'm not positive about the exceptions, however, a possible reason for skipping the breakpoints would be if you right clicked the project and chose debug as -> debug on server. Instead, select debug as -> JavaScript in JavaEE Web Application. This should start the server and open the application in chrome, pausing at the breakpoints.

visual studio 11 javascript metro app deployment error

i am using the windows developer preview with the visual studio 11, when i create a blank javascript project and try to debug it , i got the following deployment error:
Error 1 Error DEP0700 : Registration of the application from layout "C:\Users\dassio\AppxLayouts\164051d0-bdaf-4ccc-b155-6fee67bc3a53VS.Debug.AnyCPU.dassio" failed for the following reason (please check the event viewer for possible additional details): Camera
Error 2 [VisualElements] The notifications helper failed with error : 0x80070490 [ErrorCode] Camera
what is happening here?
Change the Package Identity (open the manifest, go to the package tab and modify the identity).
http://social.msdn.microsoft.com/Forums/en-ZA/winappswithcsharp/thread/e5cd8997-d175-49f0-830e-78788ddd2a6b
Hope that helps.

Categories

Resources