Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

error

  1. NoName123456

    Node.JS nmp: The term 'nmp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a pat

    Hi, I have a little problem with npm. I started a new project and I'm stuck right at the beginning and I don't know what to do. I know it's pretty easy, but in this case I tried everything and nothing helped, so thanks in advance for the help. As always, I installed the node modules in the new...
  2. J

    JavaScript Uncaught ReferenceError: displayText is not defined at HTMLAreaElement.<anonymous>

    Here's an error that has been plaguing me every time I try to add a function from within an onclick. It happens for seemingly no reason. Here is the code: export class Clickables { constructor(game) { this.game = game; this.doOnce = false; this.textDisplaying =...
  3. W

    Python Attribute Error: Help!!!

    <def main():> <equation1t = Triangle(2,3,4)> <equation1rt = Triangle(5,4,3)> < listtriangle = [equation1t, equation1rt]> < for test in listtriangle: if test.isTriangualr(): print("The Values of", test.side1, ",", test.side2, ",", test.side3, "could...
  4. F

    Error but I have no idea where

    I have been working at this thing for like a year and it just has not been working. It is supposed to download files, acting as a button. Could someone correct it please? <!DOCTYPE html> <html> <Head> <title> button </title> </head> <a href="file path"...
  5. T

    Node.JS sqlite3 with node.js not working

    I'm attempting to use sqlite3 with node.js, I'm on macOS. and I've tried everything imaginable to try and fix the problem but as soon as i try to run, const sqlite3 = require('sqlite3').verbose; const db = new sqlite3.Database('my_database.db'); it comes up with the error: Uncaught TypeError...
  6. stevan

    Python Python compiling error (Python Beginner)

    I'm trying to get data from my temperature and humidity sensor and write the data to a JSON file every minute. I started learning Python two days ago, so I have no idea why these errors occur (the output is in the attachment): The Code: import time import board import adafruit_dht import...
  7. aartiyadav

    Java Error in Running a Java Program

    Hello All, I am in learning face to java programming and to run my program at the command prompt, I downloaded the java development kit also known as JDK, and I set my windows 10 system path to: C:\Program Files\Java\jdk-9.0.1\bin;C:\Program Files\Java\jre-9.0.1\bin After writing a simple...
  8. tom3141

    C Expression must have pointer-to-object type

    I have defined some variables. I have previously defined #define SYS_LEN 50.0 #define N_CELLS ((int)SYS_LEN) as well as extern double *array_one where I populate the array via array_one[0] = 0.5*SYS_LEN array_one[1] = 0.25*SYS_LEN I then go onto define a further array within a function void...
  9. Johna

    Bug Can't Upload a GIF as my Profile Picture

    I am trying to change my profile picture to a GIF, but it either loads forever and then nothing happens, or I get this error: The GIF image is 400x400px and 2.38mb
  10. N

    Python I am making a Snake game using turtle and have a "raise terminator turtle.terminator" error.

    I would like it to run rather than terminate itself: #//Snake #Import random for spawns, turle for graphics, time for pauses, and urllib for downloading icon import random import turtle import time import urllib.request #//Downloading... print("Downloading necessary files...") #//Icon download...
  11. L0L2G00D

    How do you delete threads?

    // Code asking for name & checking for numbers let nam = prompt("What would you like to be called?"); while (l == 0) { if (isNaN(+nam) !== true) { if (nam === '69' || nam === '420') { console.log(`( ͡° ͜ʖ ͡°), We don't call people numbers, such as "${nam}" `); nam =...
  12. F

    Java Not trying every possibility

    I learned java 7. The compiler is java 13.0.1. This is the only error message I get. Where am I supposed to put the main at?
  13. skifli

    Python Expected type 'Sized', got 'int' instead

    Hi. I'm coding a hangman game in Python & I've been getting an error that I can't figure out how to get rid off. Basically, after I take the user's letter, I create a counter that goes from 0 to the length of the word. However, since Python uses the number 0 first, instead of 1, I have to do the...
  14. RAH S

    Android Studio says "The Flutter SDK is incomplete".

    When I try to create a new flutter project in Android Studio, it says that "The Flutter SDK is incomplete" after I specify the SDK. The Next button is also greyed out so I can't continue either. I have followed all the instructions on the flutter.dev website and installed the Flutter and...
  15. O

    Python HELP! Collision detector - TURTLE

    Hello y'all! I'm new here, so I hope my question will be clear enough! I'm trying to create a Breakout game using Python n Turtle. I created my lists of blocks and my main block to .clone() but wenn the ball reaches the top of the game, where the blocks are, it only erases the first block...
  16. C

    C# Need Help for My Jump Script

    So I've just started coding, and obviously I did some things wrong. I wanted to make a jump script in which jumpDelay turns FALSE when the button is pressed, and TRUE when the player hits the ground. The problem is that "Cannot implicitly convert type 'bool' to 'PlayerCollision'. " I do not...
  17. H

    JavaScript How to validate my quiz answers till the end to show a full score?

    Hi, I am new here! I need help for my Quiz assignment as I have a problem in my Javascript. My quiz has a textbox, radio and checkbox. At first, the checkAnswer() worked when I did not input the show() function to my JavaScript. It showed my overall score. But after I input that show() function...
Back
Top Bottom