Skip to main content

All Questions

Tagged with
0 votes
0 answers
1k views

Cannot find module 'internal/modules/cjs/loader :1093

After running the Java script code in Notepad++, I am facing the following error. How to solve it? NPP_EXEC: "node" CD: $ (CURRENT_DIRECTORY) Current directory: E:\ node $ (FILE_NAME) ...
Najah nurain ekra's user avatar
0 votes
1 answer
282 views

/^\d+$/.test not working when there is a number in front

I am coding a website that changes degrees from Celsius to Fahrenheit. I have tried using isNan and /^\d+$/.test to make sure that no letter is inputed, but the code will still accept any input if ...
user20065867's user avatar
0 votes
0 answers
64 views

Why is my JavaScript file formatted oddly in IDEA?

I have a .js file. When I open it in Notepad++ the first two lines look fine like this: (function(ns, $, undefined){ if(!ns.lang) { ns.lang = {}; } When I open the file in Intellij it looks like this:...
user avatar
-4 votes
1 answer
39 views

How do I setup javascript/node.js/npm?

Everytime I try to figure this out I end up on the same pages with the same confusing terminology that doesn't explain anything. This is what I have: installed notepad++ with recommended settings. ...
Gwen Mayberry's user avatar
1 vote
1 answer
1k views

How do I get this simple working program to run with node.js?

I wrote a JS program that's just a D20 that also spits out a funny message based on what number you roll (code below). I got it working in the chrome browser tools, and I wanted to try getting it to ...
LillieCharon's user avatar
0 votes
1 answer
61 views

SourceCookifier in Notepad++ not always detecting Javascript functions

If I open the file Fred.js in Notepad++ and activate SourceCookifier it should display a list of all the functions in the script. However it reports function F_1 but not function F_2 function F_1() { ...
steveOw's user avatar
  • 1,035
0 votes
1 answer
637 views

Split lines to make the code more comprehensible in notepad++

I am trying to modify a js file (It's the first time I try it) and I got something very difficult to understand for me, a mess of inline code with no breaks. I need it to be clean to be able to ...
riqui's user avatar
  • 33
-2 votes
1 answer
74 views

How to Seperate or Extract HTML Tags? [closed]

. I am looking for extract HTML elements (tags) from a HTML file. For eg: <div id="collapse" class="collapse" data-parent="#accordion"></div> <div class=&...
WellWisher's user avatar
0 votes
0 answers
70 views

Pausing script 3M keyboard wedge XML

I am using a device called 3m cr100m,which can be used to enter data from passport and so on. I am running the below script but would like to pause after a certain Data Handler until i press a certain ...
Faizan Siddiqui's user avatar
0 votes
2 answers
265 views

Replacing Text In Notepad ++ using regular expression syntax

I have multiple lines in my text file like example insert into (1,2,3,{ts '2016-01-19 14:41:33.0'},11,null,null); insert into (1,2,3,{ts '2019-05-20 19:48:34.0'},11,null,null); I want to replace all ...
Aman Sadhwani's user avatar
1 vote
2 answers
1k views

File won't save as JavaScript extension in Notepad++

I am trying to use an external JavaScript file in my HTML as follows: <script src='MyScript.js'></script> The issue is, I am getting the following error in the Web console: Loading failed ...
sophie's user avatar
  • 11
1 vote
1 answer
6k views

Connecting Node.js to Notepad++ Console

I'm trying to get the node console integrated into Notepad++ with the NppExec plugin following this tutorial as a reference (I know it's bad, but there are no other useful tutorials like it). At ...
GuardianAngel02's user avatar
1 vote
3 answers
4k views

Notepad++ doesn't open my html file but the google home page

I'm trying to learn html and javascript but I'm having problems opening html files with notepad++. I downloaded notepad++ and I created a simple html file. <html> <body> ...
Carl's user avatar
  • 231
-1 votes
1 answer
4k views

regex find and replace every nth occurrence in notepad++ [duplicate]

I've a large text file (15000 lines). every line ends with /txt I want to change every 5th lines to end with txt5. I've searched Internet but not found a solution to work for me. somethingDifferent/...
Ali Haghighi's user avatar
0 votes
1 answer
110 views

Arabic Strings doesn't want to stay inline in the correct order

Hellow, Edit I found a "solution" on my own (see below), I'm sorry for asking so hasty. I developed a script and got the request to translate it in the arabic language. He also sends me all the ...
SamBrishes's user avatar

15 30 50 per page
1
2 3 4 5
7