Category "javascript"

Error in my react app file - module not found can't resolve

Error: Compiled with problems:X ERROR in ./src/App.js 8:0-63 Module not found: Error: Can't resolve '.src/components/NewsCards/NewsCards.js' in '/Users/admin/

Error in console: ng.probe is not a function

Yesterday I updated Angular CLI and core to 8.0.0v. After that I successfully initialized a new app and ran it. Once the app was built and served on localhost:4

Numeric and alphabetic sorting XML table error from buttons

<!DOCTYPE html> <html> <style> table,th,td { border : 1px solid black; border-collapse: collapse; } th,td { padding: 5px; } </style&g

How to use two dropdown menus to select variables for JavaScript

I have to make an alert that pops up after two options to fight that gives the results of the fight (script.js was provided). When I select the two contestants,

How to access the <li> items using Selenium webdriver

I want to access <li> items in a webpage. From the given HTML, how can I access the list items such as User, Make & Model?? I am not able to retriev

How can I disable dates in Element UI datepicker?

I want to select the departure date then when I go to select the return date I want the function to disable all dates before the departure date in element UI I

Emberjs Model from route returning undefined in controller

I have a strange behavior with my Ember app. I can't make any sense out of it. Basically I'm using Ember octane and I wanted to access my model from my route to

How can I access mobile front camera and record a video in Js?

I am making a app with: Html, Css and Javascript, and I want that app access mobile front camera and record a video off the user face, I am usin Adobe Phone Gap

The proper way to achieve database locks (Pessimistic Read and Write) with TypeORM and NodeJS

I have an application that needs to deal with concurrency/race conditions. I noticed user account balances were being updated wrongly. Multiple requests can rea

Node.JS Video Upload

Can anyone help me with video upload in Node.JS? Currently, I am using the express-fileupload module for uploading a video it works fine till 70MB but when the

React Router works only after refreshing the page

I am a bit new to react and I am facing a problem with the Router. The routing works when I enter the URL directly on the browser, however when I click on the l

Suprisingly can't find a solution to this. react-csv automatically download to server instead of user choice

so I'm generating an invoice, and am using the react-csv package to covert my graphql data into a csv file. problem is I don't want the user to select a locatio

Hide nested properties in loopback model

I am creating a loopback model (model1) which refers to another model and want to hide some properties of the nested model (model2). Also, I just want them to b

How to create a random ground in matter.js

I am creating the ground of a game using a Perlin noise function. This gives me an array of vertices. I then add a vertex at the front that is {x:0 y: WORLD_HEI

Why are the "date" and "time" entries not displayed correctly in Google Chrome Mobile?

I have a small scheduling system that I developed (Look here). The "date" and "time" entries are showing normally in most desktop and mobile browsers: But for

My markers are not displayed React leaflet

the goal is to displayed marker on map. I don't understand why my markers are not displayed I use react-leaflet The response is okay but nothing is displayed th

Bootstrap-ui Modal is coming up blank when set inside angular-gantt

I am having difficulties trying to get my modal to come up. I am not sure if it is because modal is not compatible with angular-gantt or if I have the code wron

Cannot install node-sass on windows

Im trying to install node-sass. I have both python 3 and 2.7 installed along with the visual studio build tools yet node gyp still fails. Trying to uninstall an

How to upload contentBytes chunk by chunk on Graph url return by createUploadSession graph API?

As per microsoft graph API documentation the createUploadSession graph API only return the URL where attachment can upload but how to upload attachment chunk by

Phaser JS 3: how to debug game performance

So, I'm working on a project, attempting to learn Phaser as a ruby dev (JS isn't my most confident programming language). Having run my game on a lower-spec la