I’m trying to get a list of all the sockets/clients that are currently connected. io.sockets does not return an array, unfortunately. I know I could keep my own list...
I am stuck with this error no matter what directory I am in, and what I type after “npm” in cmd.exe. Here is the npm-debug.log: 0 info it worked...
What is the most correct way to install npm packages in nested sub folders? my-app /my-sub-module package.json package.json What is the best way to have packages in /my-sub-module be...
I cannot install any of the modules that require compilation. All they fail with the following error: MSBUILD : error MSB3411: Could not load the Visual C++ component "VCBuild.exe"....
I’m just getting started with webpack and am having difficulty getting the multiple-entry-points sample to build. The webpack.config.js file in the example includes the line var CommonsChunkPlugin = require("../../lib/optimize/CommonsChunkPlugin");...
I created expressjs application using the following commands: express -e folderName npm install ejs --save npm install When I run the application with: node app.js, I have the following...
I’ve been trying to run an npm install on my package.json file, but I’m having a lot of trouble. It keeps saying “Error: Attempt to unlock XXX, which hasn’t...
I have installed an application using the command express new 'filename'. I have just learned that you can start an application using: npm start Thus far I have used:...
I’m using tsc build tasks. Unfortunately I’m always getting the same errors from the node modules folder Executing task: .\node_modules\.bin\tsc.cmd --watch -p .\tsconfig.json < node_modules/@types/node/index.d.ts(6208,55): error TS2304: Cannot find...
I’m learning graphql and using prisma-binding for graphql operations. I’m facing this nodemon error while I’m starting my node server and its giving me the path of schema file...