I am using Laracast onto an OSX system. I use the following shell command:
docker-compose exec -u laradock workspace bash
I created a new Laravel project...
composer create-project --prefer-dist laravel/laravel stocks
cd stocks
npm install
Now I get some error messages:
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of imagemin@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 11710 packages in 10.183s found 1 high severity vulnerability run
npm audit fix
to fix them, ornpm audit
for details
How can I fix them?
npm run dev
– sanu