I'm receiving this error when trying to debug my node application using the npm start command.  Error:     npm ERR! Windows_NT 6.3.9600   npm ERR! argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bi...
I've seen some npm packages (vue for example) have a pkg.module field in their package.json. Is "module" an official npm property or is this a convention of some kind? Is there documentation for this somewhere? What's it for? esnext p...
I just updated the React Native from 0.55 to 0.56.  However, when I tried to run the code (react-native run-android OR run-ios), bundling stops to this point:  Loading dependency graph, done. error: bundling failed: TypeError: Cannot read property &#...
I want to minify all .html files in a folder (and any folders within) using npm run script. Ideally, all .html files should be overwritten (if that's not possible, a new folder is acceptable). It is assumed that there will be non-HTML files in th...
I am trying to set and retrieve node app process.env vars using package.json, so by researching the issue, I've found an example to set / retrieve process.env through the 'config' section, so I added a new config section as shown below :...
In package.json:  ... "browserify": {   "transform": [     "coffee-reactify"   ],   "extension": [ ".cjsx", ".coffee", ".js", ".json" ],   "extensions": [ ".cjsx", "....
I have an npm script where I want to match both ts and tsx file extensions... something like below:  "test": "mocha ..... app/test/**/*.spec.{ts,tsx}"   However, the above syntax doesn't work.  What's the correct syntax for do...
What I want to do is when I run npm run dev to execute those both tasks I need to wait for 5 seconds until next task runs.  Run the npm run server wait for 5 seconds and then npm run client    "scripts": {     "start": "node ./bin...
Using a package.json file with the following  "devDependencies": {     "grunt": "^0.4.5",     "grunt-concurrent": "^1.0.0",     "grunt-contrib-jshint": "^0.10.0",     "grunt-contrib-watch...
I am using Terraform for a project and I got two tasks in my package.json to launch terraform plan and terraform apply.  "scripts": {     "tf:apply": "terraform apply",     "tf:plan": "terraform plan" }   For b...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.