question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't execute docz in Laravel project

See original GitHub issue

Bug Report

Describe the bug

Hi, when I try to install docz, everything’s fine but when I try to launch it, i got this error :

C:\xampp\htdocs\cdg_reload>yarn docz dev
yarn run v1.7.0
$ C:\xampp\htdocs\cdg_reload\node_modules\.bin\docz dev
i  info      Removing old app files
i  info      Creating new docz files
i  info      Setup entries socket on port 8089

Compiling

* Client █████████████████████████ building modules (29%) 161/167 modules 6 active
  node_modules\core-js\modules\_string-ws.js

C:\xampp\htdocs\cdg_reload\node_modules\snapdragon\lib\parser.js:473
        throw new Error('no parsers registered for: "' + self.input.slice(0, 5) + '"');
        ^

Error: no parsers registered for: "]a(r)"
    at parse (C:\xampp\htdocs\cdg_reload\node_modules\snapdragon\lib\parser.js:473:15)
    at Parser.parse (C:\xampp\htdocs\cdg_reload\node_modules\snapdragon\lib\parser.js:477:24)
    at Snapdragon.parse (C:\xampp\htdocs\cdg_reload\node_modules\snapdragon\index.js:122:28)
    at Snapdragon.<anonymous> (C:\xampp\htdocs\cdg_reload\node_modules\braces\lib\braces.js:40:45)
    at Braces.parse (C:\xampp\htdocs\cdg_reload\node_modules\braces\lib\braces.js:66:26)
    at Braces.expand (C:\xampp\htdocs\cdg_reload\node_modules\braces\lib\braces.js:87:18)
    at create (C:\xampp\htdocs\cdg_reload\node_modules\braces\index.js:142:15)
    at memoize (C:\xampp\htdocs\cdg_reload\node_modules\braces\index.js:298:13)
    at Function.braces.create (C:\xampp\htdocs\cdg_reload\node_modules\braces\index.js:165:10)
    at Function.braces.expand (C:\xampp\htdocs\cdg_reload\node_modules\braces\index.js:81:17)
    at getDirParts (C:\xampp\htdocs\cdg_reload\node_modules\chokidar\index.js:435:31)
    at FSWatcher.<anonymous> (C:\xampp\htdocs\cdg_reload\node_modules\chokidar\index.js:452:24)
    at C:\xampp\htdocs\cdg_reload\node_modules\readdirp\readdirp.js:226:72
    at Array.filter (<anonymous>)
    at C:\xampp\htdocs\cdg_reload\node_modules\readdirp\readdirp.js:226:12
    at C:\xampp\htdocs\cdg_reload\node_modules\readdirp\readdirp.js:199:38
error Command failed with exit code 1.


To Reproduce

  1. Create a Laravel 5.6 project
  2. Add some scss content, update, etc all this stuff
  3. Install docz
  4. Launch docz
  5. See error

Enviroment

  • OS: Windows 10
  • Node/npm version: Node v8.9.2 & npm : v5.8.0

Thank’s 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aheidelbergcommented, Oct 3, 2018

I’m getting the exact same error as @Epistol even after removing .docz and running docz dev again (composer.json).

0reactions
camflancommented, Feb 20, 2019

https://www.docz.site/documentation/project-configuration

Config file with src set to the root path where your js files are

Read more comments on GitHub >

github_iconTop Results From Across the Web

php - Laravel - unable to run app - Stack Overflow
I clone one big private project in my new company. I update all denpendecies with composer, set up database, run migrations and seeding....
Read more >
Deployment - Laravel - The PHP Framework For Web Artisans
When you're ready to deploy your Laravel application to production, there are some important things you can do to make sure your application...
Read more >
Not able to run sail command even on new Laravel project #263
Sail command is now broken even just creating a new Laravel project. it return The "laravel.test" service is not running. Ensure the $ ......
Read more >
Installation | Laravel Mix Documentation
Laravel Project · Install Laravel · Run npm install · Visit your webpack.mix.js file, and get started!
Read more >
How To Install and Configure Laravel with Nginx on Ubuntu ...
Your system is now ready to execute Laravel's installation via ... a new Laravel application using the composer create-project command.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found