Category : node.js

I have an existing project which I lately installed on a new equipment. It is a Laravel + vue project. When I run npm run watch I get the following error: > development > cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js –progress –hide-modules –config=node_modules/laravel-mix/setup/webpack.config.js "–watch" 10% building 1/1 modules 0 active webpack is watching the files… 10% building 1/3 ..

Read more

New mac user here. I’m trying to create a composer project in phpstorm (laravel/laravel) but every time I run npm install the process gets stuck at: npm timing idealTree:userRequests Completed in 0ms ⸨⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠸ idealTree:stuttard_staging: sill idealTree buildDeps Full error report (after ~10 minutes freeze): npm timing idealTree:buildDeps Completed in 1181143ms npm timing idealTree:fixDepFlags Completed ..

Read more

I want to start a Javascript in Laravel. It works when you start from the console, but unfortunately not from PHP. Does anyone have any idea how to solve it? It’s a Docker Container. Laravel 8. Node.js is installed. $path = base_path() . "/scrapper/index.js"; $script = sprintf(‘node %s –zvg=%s’, $path, str_pad($zvg, 6, "0", STR_PAD_LEFT)); ($process ..

Read more