No matching version found for require-from-string@^1.1.0 [duplicate]
There's an open incident with the npm registry.
Details on the incident:
Several packages including "require-from-string" are currently unavailable. We are aware of the issue and are working to restore the affected user and packages. Please do not attempt to republish packages, as this will hinder our progress in restoring them. Jan 6, 19:45 UTC
some problem with NPM registry some of the packages got deleted.They are restoring it... it will be available shortly
Temp solution get the package from already running projects/older projects
for require-from-string package can use below linknpm install https://github.com/floatdrop/require-from-string/tarball/v1.1.0
ng serve causes problem nowVersions of @angular/compiler-cli and typescript could not be determined.The most common reason for this is a broken npm install.
Please make sure your package.json contains both @angular/compiler-cli and typescript indevDependencies, then delete node_modules and package-lock.json (if you have one) andrun npm install again.