lse123
3 months ago
552
5
Laravel

homestead2.test/login - but Not loading app.css, app.js from

Posted 3 months ago by lse123

Route::get('/login', function () { return view('auth.login'); })->name('login'); // http://homestead2.test/login

I scaffold js in Laravel 7.x but Not loading app.css, app.js from // what to do?

code\MyApp\resources\views\layouts\app.blade.php

see screenshot here:

https://yadi.sk/i/WGgXLvTKsLpIAg

[email protected]:~/MyApp$ npm install && npm run dev npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]~2.1.2 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code EPROTO npm ERR! syscall symlink npm ERR! path ../@babel/parser/bin/babel-parser.js npm ERR! dest /home/vagrant/MyApp/node_modules/.bin/parser npm ERR! errno -71 npm ERR! EPROTO: protocol error, symlink '../@babel/parser/bin/babel-parser.js' -> '/home/vagrant/MyApp/node_modules/.bin/parser'

npm ERR! A complete log of this run can be found in: npm ERR! /home/vagrant/.npm/_logs/2020-06-24T18_02_36_031Z-debug.log [email protected]:~/MyApp$

Please sign in or create an account to participate in this conversation.