Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
126 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 ...
Philipp Kolbe's user avatar
0 votes
1 answer
87 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 ...
0xff's user avatar
  • 11
1 vote
2 answers
106 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 ...
John Brink's user avatar
0 votes
0 answers
118 views

I am maintaining some Javascript code in a React application that imports from a Typescript library using the require function. The import statement looks like this: const utc = require('dayjs/plugin/...
Giorgio's user avatar
  • 5,203
-1 votes
2 answers
154 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 ...
Bear Bile Farming is Torture's user avatar
1 vote
0 answers
75 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 ...
Shankar Patwardhan's user avatar
0 votes
0 answers
79 views

Running "requirejs:desktop" (requirejs) task Error: Parse error using esprima for file: C:/projects/GitProjects/vendorgames-sonarqube/ndcasinocommon/base_common/fcga mes/vendorgames/...
sri harsha's user avatar
1 vote
0 answers
59 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, ...
Orlando Aleman's user avatar
-1 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 ...
xkeshav's user avatar
  • 54.2k
-1 votes
2 answers
321 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 ...
Bhavya Shah's user avatar
-1 votes
2 answers
181 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 ...
Steven Chao's user avatar
1 vote
0 answers
386 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, ...
Ramon15's user avatar
  • 11
0 votes
1 answer
537 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: ...
furb's user avatar
  • 1
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 ...
張俊芝's user avatar
  • 449
0 votes
0 answers
61 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; }); ...
ashrf glal's user avatar

15 30 50 per page
1
2 3 4 5
514