jonschlinkert / parse-comments

Parse JavaScript code comments. Works with block and line comments, and should work with CSS, LESS, SASS, or any language with the same comment formats.
https://github.com/jonschlinkert
MIT License
66 stars 23 forks source link

Browserify error: Error: Can't walk dependency graph: Cannot find module './formatter' from #20

Open lacmuch opened 4 years ago

lacmuch commented 4 years ago

In /lib/index.js pls change line

from: define('formatter', () => require('./formatter')); to: define('formatter', () => require('./format/formatter'));

Thx!

ashokkumarg commented 3 years ago

I use the mysql2 2.2.5 version which does not have cardinal but the helper.js requires for the cardinal as below. How to solve this?

Error: Can't walk dependency graph: Cannot find module 'cardinal' from '\node_modules\mysql2\lib' required by node_modules\mysql2\lib\helpers.js