Is there any way to use modules (e.g. sharp) exported as export = someModule in a Lambda function defined using NodejsFunction in the aws-cdk-lib? The ...
Is there any way to use modules (e.g. sharp) exported as export = someModule in a Lambda function defined using NodejsFunction in the aws-cdk-lib? The ...
I'm using Import Maps on my website which (according to caniuse.com) aren't supported on Firefox v107 or the latest (non-TP) version of Safari. I thou ...
I have a mocha test which tests my code. My code uses another "core" npm package (which uses CommonJS modules). One of "core" the files ("synchronizer ...
I have the following script which is attempted at exporting every single file from a particular folder, but I'm stucked at the export part of it. Bel ...
My question is : is there any consequences in performance if using for example: Instead of : Will react load all the library when using namespac ...
I'm creating a node.js gRPC service. I'm using the photo buff as an npm package in this service. so the proto buff package is structured as below. ...
I'm currently trying to use amcharts 5 in a Nuxt3 app, and had a couple of graphs working fine. However at some point amcharts has randomly stopped wo ...
I'm working on adding support for .js config file in a NodeJS library. NodeJS support two module system - ESM & CommonJS - and since javascript fi ...
I need to import NeDB and I need to do this using ES Module, what I need from NeDB is DataStore. When I try to import DataStore using the usual synth ...
Normally in Node one can useNODE_PATH=./src" to make it so that instead of: You can just do: However, that only works if you use the esm package ...
I'm trying to build a simple website using Astro, it runs perfectly fine when using astro dev but I can't build the website using astro build because ...
When I create a Node.js v16 function action from a zip file containing a simple estest.js: and package.json containing "type": "module" I get: I ...
I was testing circular dependency with commonjs. The result was So index import a and a import b b try to import a but a is not finished so ...
i'm working on a project with tinyHttp V2 which uses only EsModules. I'm trying to make a sample project with some sequelize models but i'm not able ...
I've a outdated app that uses very older few packages those doesn't support ES Module as an example file-type package. So if you setup babel and node ...
I am unable to use the package p-map in my Azure Function. I get the following error: The project is created by following the steps in Azure's docu ...
I have a layer where the path of node_modules is nodejs/node14/node_modules. Using that layer, and I try to import a package in a Lambda function, sa ...
I am working on documentation tool for Typescript library. The idea is to leverage parcel's watch mode to continuously build the library, and use the ...
I have written a TS file, that loads in a 3rd party package, using import XXX { YYY, ABC, 123 }from 'XXX'; It will compile to CommonJS no issue, and ...
I want to import a library like axios directly from a URL and use it. I don't want to add it as a script which adds axios to the window object (as sh ...