I want to implement some feature to my project. This feature is taken from sample-app in github repo. The way it works is i just using theirs css and ...
I want to implement some feature to my project. This feature is taken from sample-app in github repo. The way it works is i just using theirs css and ...
My Project structure looks like this - math.js is just an AMD module and I am requiring it in main.js I have installed require.js using npm and re ...
I have 2 .ts files: linked_list.ts and index.ts: My compiler compiles them into: linked_list.js: and index.js: and i get this error in m ...
I want to create a dynamically named variable so that I can use it as a module. I am using eval() to do it, but for some reason it's not working as ex ...
There is import function: import socketIO, { Server as SocketIOServer } from "socket.io"; i want to convert this to const socketIO, { Server as Socke ...
I'm trying to implement Esri ArcGIS JS in Lightning Web Component. While using ArcGIS JS, the sample code uses require function to load modules. In or ...
with chart.js 3.9.1 this statement was working: I just updated to chart.js 4.0.1 and now I get the following error: Module not found: Error: Packa ...
I am basically going through the RequireJS section of the official Magento 2 documentation and there is a section which mentions about changing the ma ...
Below are the pseudo configuration files for explanation purposes: webpack.config index.js Configuration of RequireJS Dependent module In ...
I'm reading through the source code for the game "Screeps" (trying to reverse-engineer how it executes user-provided scripts in a safe way, to use in ...
So recently I was making a website and I added a login page. I wanted to check if the username and password entered existed in the database and if not ...
I'm trying to require aws sdk database for use in a web application, but I'm getting the following errors const AWS = require(["aws-sdk"]); AWS.confi ...
I experiencing a problem below. All I know, it's because I added the "type": "module" in my package.json file. But do we have a way to convert the fol ...
I want to generate TypeScript definitions for JavaScript code in Magento 2 or RequireJS to be more precise. Example: // Generated const modules = { ...
In normal node.js environment which I run by "npm start", I can always just require/import JSON and the data inside the file will be received. For an ...
I'm trying to override the function postcodeValidation inside of: I've been able to create a mixin, but i'm unsure how to alter the existing functi ...
I have a main index.js file in a nodejs folder with a package.json in it. I also have an HTML file in the same folder and I need to use some libraries ...
Cognos Analytics 11.1.7IF9 Searching the web for "Cognos report copy" produces many results about copying a report spec to the clipboard. That's not ...
In VS Code I want to replace all my imports using require and update the import path... import myImport = require("path/of/import"); to this import ...
I am trying to run the simple survey using SurveyJS and it is not getting loaded by requireJS. There is no error on loading, but it is undefined insid ...