Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has more complete support for Bash 4.3.
backend@1.0.0 dev D:\angularpro\MEAN-STACK-PROJECT-01\backend
babel-watch sever.js
Error: Cannot find module 'D:\angularpro\MEAN-STACK-PROJECT-01\backend\sever.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
at process.on (D:\angularpro\MEAN-STACK-PROJECT-01\backend\node_modules\babel-watch\runner.js:110:21)
at process.emit (events.js:198:13)
at emit (internal/child_process.js:832:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
When I have checked its showing two vunarabilities :-1:
=== npm audit security report ===
Manual Review
Some vulnerabilities require your attention to resolve
Visit https://go.npm.me/audit-guide for additional guidance
found 2 low severity vulnerabilities in 6339 scanned packages
2 vulnerabilities require manual review. See the full report for details.
I hae update all the packages 2 times.Update (Chokidar braces npm also babel also)
still it is giving me same error
When I am trying to run command
npm update
When I am trying to run command npm run dev
It is giving below error :
Error: Cannot find module 'D:\angularpro\MEAN-STACK-PROJECT-01\backend\sever.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:829:12) at process.on (D:\angularpro\MEAN-STACK-PROJECT-01\backend\node_modules\babel-watch\runner.js:110:21) at process.emit (events.js:198:13) at emit (internal/child_process.js:832:12) at process._tickCallback (internal/process/next_tick.js:63:19)
When I have checked its showing two vunarabilities :-1: === npm audit security report ===
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of babel-cli [dev]
Path babel-cli > chokidar > anymatch > micromatch > braces
More info https://npmjs.com/advisories/786
Low Regular Expression Denial of Service
Package braces
Patched in >=2.3.1
Dependency of babel-watch [dev]
Path babel-watch > chokidar > anymatch > micromatch > braces
More info https://npmjs.com/advisories/786
found 2 low severity vulnerabilities in 6339 scanned packages 2 vulnerabilities require manual review. See the full report for details.
I hae update all the packages 2 times.Update (Chokidar braces npm also babel also) still it is giving me same error When I am trying to run command npm update
Package.json:
{ "name": "backend", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "babel-watch sever.js" }, "keywords": [], "author": "", "license": "ISC", "devDependencies": { "@babel/core": "^7.4.5", "@babel/preset-env": "^7.4.5", "babel-cli": "^6.26.0", "babel-preset-env": "^1.7.0", "babel-watch": "^7.0.0" }, "dependencies": { "anymatch": "^3.0.2", "babel-core": "^6.26.3", "braces": "^2.3.2", "chokidar": "^3.0.1", "cors": "^2.8.5", "express": "^4.17.1", "micromatch": "^4.0.2", "mongoose": "^5.5.15" } }