I am trying to run the following project:
https://github.com/kentcdodds/react-in-angular
This repo is simply an example of using React in AngularJS. There are three tags. Check them out in order to see the process of moving an Angular app to React. Kinda fun and stuff :-)
But after npm install i am getting following error:
npm WARN rm not removing /home/user/react-in-angular/node_modules/.bin/esparse as it wasn't installed by /home/user/react-in-angular/node_modules/esprima-fb
npm WARN rm not removing /home/user/react-in-angular/node_modules/.bin/esvalidate as it wasn't installed by /home/user/react-in-angular/node_modules/esprima-fb
> kexec@1.1.0 install /home/user/react-in-angular/node_modules/kexec
> pangyp configure build
sh: 1: pangyp: not found
npm WARN react-in-angular@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@0.3.8 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@0.3.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: kexec@1.1.0 (node_modules/kexec):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: kexec@1.1.0 install: `pangyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: spawn ENOENT
added 126 packages from 149 contributors, removed 72 packages, updated 570 packages and audited 7724 packages in 10.882s
17 packages are looking for funding
run `npm fund` for details
found 7 vulnerabilities (2 low, 5 high)
run `npm audit fix` to fix them, or `npm audit` for details
After runnung npm audit:
=== npm audit security report ===
Manual Review
Some vulnerabilities require your attention to resolve
Visit https://go.npm.me/audit-guide for additional guidance
Low Arbitrary File Write
Package cli
Patched in >=1.0.0
Dependency of 6to5 [dev]
Path 6to5 > jshint > cli
More info https://npmjs.com/advisories/95
High Regular Expression Denial of Service
Package minimatch
Patched in >=3.0.2
Dependency of 6to5 [dev]
Path 6to5 > chokidar > readdirp > minimatch
More info https://npmjs.com/advisories/118
High Regular Expression Denial of Service
Package minimatch
Patched in >=3.0.2
Dependency of 6to5 [dev]
Path 6to5 > jshint > cli > glob > minimatch
More info https://npmjs.com/advisories/118
High Regular Expression Denial of Service
Package minimatch
Patched in >=3.0.2
Dependency of 6to5 [dev]
Path 6to5 > jshint > minimatch
More info https://npmjs.com/advisories/118
Low Prototype Pollution
Package lodash
Patched in >=4.17.5
Dependency of 6to5 [dev]
Path 6to5 > lodash
More info https://npmjs.com/advisories/577
High Prototype Pollution
Package lodash
Patched in >=4.17.11
Dependency of 6to5 [dev]
Path 6to5 > lodash
More info https://npmjs.com/advisories/782
High Prototype Pollution
Package lodash
Patched in >=4.17.12
Dependency of 6to5 [dev]
Path 6to5 > lodash
More info https://npmjs.com/advisories/1065
found 7 vulnerabilities (2 low, 5 high) in 7724 scanned packages
7 vulnerabilities require manual review. See the full report for details.
After running, webpack-dev-server --content-base app:
validateSchema is not a function
How can solve it ?