Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
1 vote
2 answers
183 views

It seems like the latest Autodesk Viewer update to version 7.115.0 on November 28 the module has been changed to a Universal Module Definition (UMD). We are importing this script in the SAPUI5 ...
0 votes
1 answer
108 views

Requirejs library fails to load script defined in data-main attribute for require.js script. According to browser output it looks into wrong place. Can't sort it out why and how to fix it. Created ...
1 vote
2 answers
139 views

I am attempting to migrate our single-page application from RequireJS to Webpack. As part of this transition, I am gradually rewriting our hundreds of modules from ASM define() syntax to modern ESM ...
-1 votes
2 answers
168 views

This line of code is expensive to run: require(`./path/to/large_file`) Without it, the React app build bundle resulted in 36 MB. With it, it resulted in 92 MB. The above line of code is run during ...
1 vote
0 answers
81 views

I have a require.js app and I am adding enterprise edition of Ag-Charts in it. I can successfully add 9.0 version of Ag-Charts but when I try to add 10.2 version, it's not loading somehow. Can someone ...
0 votes
0 answers
94 views

Running "requirejs:desktop" (requirejs) task Error: Parse error using esprima for file: C:/projects/GitProjects/vendorgames-sonarqube/ndcasinocommon/base_common/fcga mes/vendorgames/...
1 vote
0 answers
62 views

I work on a fairly large Javascript project (~863 files), where all the code is distributed in a modular way, being practically one file per class (object-oriented). Some things are loaded on the fly, ...
0 votes
1 answer
1k views

having a node js basic project setup with package.json , install a package and try to use both require and import statment in the same file; to do that here is what did so far but not working. First ...
-1 votes
2 answers
351 views

I am using requireJS in my project and want to load survey-core and survey-creator-core. survey-creator-core has a dependency on survey-core when i checked the js file of survey-creator-core. I got ...
-1 votes
2 answers
191 views

I am working on a NetSuite suitescript customization and would like to write the test with Jest. Since suitescript run with Require JS, I would like to know how to correctly mock the function as I ...
1 vote
0 answers
443 views

I'm working on a project that involves deploying Moodle using Docker. The setup includes two Docker containers: one for the database (MariaDB) and one for Moodle (i also have a container for django, ...
0 votes
1 answer
581 views

I am working on a full-stack project using Express.js for the backend and MongoDB for the database. I am encountering an error when trying to start my server. The error message is as follows: Error: ...
0 votes
2 answers
1k views

Here is how I built and installed node.js(version: 20.11): ./configure --prefix=/home/tester/node make -j8 make install Here is how I set the environment: export PATH=/home/tester/node/bin:$PATH ...
0 votes
0 answers
72 views

simple example RequireJs I get Error : Uncaught TypeError: hi is not a function say.js define(function () { var say={}; say.hi=function hi(){ console.log('hi'); } return say; }); ...
0 votes
1 answer
117 views

I am attempting to do a singleton pattern in javascript. I am getting error message "Uncaught TypeError: route_socket.getInstance is not a function". I was wondering what am I doing wrong. I ...

15 30 50 per page
1
2 3 4 5
513