Can't execute docz in Laravel project
See original GitHub issueBug 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
- Create a Laravel 5.6 project
- Add some scss content, update, etc all this stuff
- Install docz
- Launch docz
- See error
Enviroment
- OS: Windows 10
- Node/npm version: Node v8.9.2 & npm : v5.8.0
Thank’s 😃
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m getting the exact same error as @Epistol even after removing
.docz
and runningdocz dev
again (composer.json).https://www.docz.site/documentation/project-configuration
Config file with
src
set to the root path where your js files are