Top "Node-modules" questions

Node.

Require dependency of another dependency in node modules

I've got a simple node app that has single dependency on another app on github. The dependency installs just fine …

node.js mongoose npm node-modules
How do I export Typescript interfaces from a node module?

Figured it out! Initially, I was trying to import my module like this: const qml = require('quill-marking-logic') const { checkSentenceCombining, checkSentenceFragment, …

node.js typescript node-modules rollupjs
How to fix - Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose'

I am working on a project of react and I am getting the following error after implement this package https://…

javascript reactjs node-modules npm-install npm-start
Centralise node_modules in project with subproject

is it possible to configure grunt in a way that you have the required modules on a central point? I …

node.js gruntjs node-modules
Cordova 4.3.0 - build command returns error Cannot find module 'Q'

After updating cordova to version 4.3.0 the command: cordova build returns the following error: module.js:340 throw err; ^ Error: Cannot find …

xcode cordova npm node-modules cordova-cli
How to use auto-launch to start app on system startup?

package.json: { "name": "electronapp", "version": "1.0.0", "description": "electron auto-launch", "main": "index.js", "scripts": { "start": "electron .", "build": "electron-packager . --all" }, "author": "ivie", "license": "…

javascript node.js node-modules electron-builder electron-packager
Is providing a Promise as a module's export a valid pattern for asynch initialization in Node.js?

I need to write some modules that load data one time and then provide an interface to that data. I'd …

javascript node.js promise node-modules
How should i exclude all node_modules in electron-packager

I'm using electron-packager for creating an electron.exe of my app. I need to exclude all node modules . I tried …

node.js electron node-modules electron-packager asar
Can node modules require each other

I'm having the following 3 files. user.js requires room.js and room.js requires user.js. user.js var Room = …

javascript node.js node-modules
Notating Multiple Modules in the Same Package.json File

I am trying to package up some modules that I have been working on. I have five modules, split in …

node.js npm node-modules