jkocik / laravel-profiler

Profiler for Laravel Framework
MIT License
188 stars 14 forks source link

Get Error when Running Profiler Client #11

Open Priyadarshi2259 opened 2 years ago

Priyadarshi2259 commented 2 years ago

Hi My server Runs fine but when i try to run client with below command php artisan profiler:client

I get below Error Starting Profiler Client ... 'node_modules' is not recognized as an internal or external command, operable program or batch file.

oddtwelve commented 2 years ago

I have the same issue

Dhamareshwarakumar commented 1 year ago
{
  "scripts": {
    "profiler-server": "node node_modules/laravel-profiler-client/server/server.js http=8099 ws=1901",
    "profiler-client": "http-server node_modules/laravel-profiler-client/dist/ -o -s",
    "ps": "npm run profiler-server",
    "pc": "npm run profiler-client"
  },
  "devDependencies": {
    "laravel-profiler-client": "^1.3.0"
  }
}