I don’t know what the error is, so far I am testing through console log to check for changes after selecting a file (for uploading). When I run $ npm run watch, i get the following error: “Webpack is watching the files… 95% ...
Discy Latest Questions
I’m trying to run npm run dev for Laravel Mix and I get this error: > @ dev D:\projects\ptcs > cross-env NODE_ENV=development webpack --progress --hide-modules -- config=node_modules/laravel-mix/setup/webpack.config.js 'cross-env' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ...
In my Ubuntu VM, I kept getting SQLSTATE[HY000] [1045] Access denied for user ‘username’@’localhost’ (using password: YES) update I have configured my database like this in my .env file DB_HOST=45.55.88.57 DB_DATABASE=b-prod DB_USERNAME=root DB_PASSWORD=********* UNIX_SOCKET=/var/run/mysqld/mysqld.sock It works perfectly. But when I use DB_HOST=45.55.88.57 DB_DATABASE=b-prod DB_USERNAME=b <---------------------------------------------- DB_PASSWORD=********* UNIX_SOCKET=/var/run/mysqld/mysqld.sock I didn’t work. What else I should look into ...
I get an error: Type error: Too few arguments I thought Laravel do some magic to if arguments is not fully passed? For example: In the Controller I have: public function create(CreateRequest $request) { return $this->todoService->createList($request); } In the todoService class: use App\Plan class todoService { ...
I have two docker containers: Nginx and App. The app container extends PHP-fpm and also has my Laravel Code. In my docker-compose.yml I’m doing: version: '2' services: nginx: build: ...