Errors on fresh Install
Description / Steps to reproduce / Feature proposal
when creating new apps or downloading an example with lb4 app lb4 example, these errors appears during the install progress. and off course the app can't start correctly after the errors below.
Current Behavior
Terminal Errors:
> lb4 example hello-world
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: The major version is no longer supported. Please update to 4.x or newer
npm ERR! path /private/var/www/loopback4-example-hello-world/node_modules/highlight.js/tools/build.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/private/var/www/loopback4-example-hello-world/node_modules/highlight.js/tools/build.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Expected Behavior
Installs and run the app correctly.
I have the same problem. This would come from the last release of highlight.js and no loopback. If someone has a tip otherwise it will wait until highlight.js fixed that.
I also have the same issue faced now due to highlight.js
Same issue is being discussed here : https://github.com/highlightjs/highlight.js/issues/1984
I have the same issue.
@loopback/build !! I have the same Error.
Hi everyone, can you post the node version?
Have you tried run it with node 10 and above? I am on v10.15.1 and everything looks good.
Add at your devDependencies or dependencies --> "highlight.js": "9.14.2" For resolve temporary that issue.
Duplicate of https://github.com/highlightjs/highlight.js/issues/1984
Please run npm i -g @loopback/cli and try again.