Marked: npm WARN [email protected] requires a peer of marked@^0.3.3 but none is installed.

Created on 31 Jul 2018  路  3Comments  路  Source: markedjs/marked

Version 0.3.19 was fine, but after upgrading to version 0.4.0 if I run npm install I get the following warning:

npm WARN [email protected] requires a peer of marked@^0.3.3 but none is installed. You must install peer dependencies yourself.

Is this expected?

FYI: this does not occur if clean install (e.g. no existing node_module folder). If you remove the node_modules folder then run npm install, then run npm install again it will throw the warning on the 2nd npm install

Most helpful comment

You need to update marked-terminal

https://github.com/mikaelbr/marked-terminal/issues/40

All 3 comments

You need to update marked-terminal

https://github.com/mikaelbr/marked-terminal/issues/40

Thank you for the response and sorry, it obvious I don't really understand peer dependancies 馃槙 Is the best way to handle this to add it to package.json (e.g. npm i -S marked-terminal) so nobody else using the project gets the same error?

Yup that should work

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cusalvi picture cusalvi  路  3Comments

FireflyAndStars picture FireflyAndStars  路  3Comments

elennaro picture elennaro  路  4Comments

eGavr picture eGavr  路  4Comments

james4388 picture james4388  路  3Comments