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 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...
Is it ok to have a node.js project with no package.json? The ones I see on the internet all come with package.json  What is the effect of having no package.json?  How is package.json created in the first place? Is it created automatically? I am wonde...
I have a gulp.js file that includes:  gulp.task('default', ['watch']);   Which starts up the watch task  gulp.task('watch', function(){   gulp.watch(productionScripts, ['autoConcat']); });   Then on any saved changes t...
In js file, i used import to instead of require  import co from 'co';   And tried to run it directly by nodejs since it said import is 'shipping features' and support without any runtime flag (https://nodejs.org/en/docs/es6/), but i g...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.