Skip to content

Error: Cannot find package 'remark' #1333

Answered by remcohaszing
gnought asked this question in Q&A
Discussion options

You must be logged in to vote

Ideally you should have remark installed per project. remark-cli installs this as a transitive dependency. This ensures the same remark version is used both by the VSCode extension and when running remark on the command line.

However, if remark isn’t found, the VSCode extension falls back to a bundled version of remark. For me it runs fine regardless whether or not remark is installed in the project, so I’m surprised you’re seeing this error.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@remcohaszing
Comment options

@gnought
Comment options

@wooorm
Comment options

@remcohaszing
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants