Closed Kaiden42 closed 1 year ago
@Kaiden42 thanks fort the report. ngx-codejar currently doesn't support codejar >= 4. At the moment I can't fix it because codejar >= 4 is missing linenumbers completely. I'll report this to Codejar and release a version 6 of ngx-codejar asap.
opened issue here
@Kaiden42 I just released ngx-codejar v6. This release fixes the issue. Please check out the new installation instructions.
Problem
The new 4.x release of codejar has a breaking change which results in our build failing.
According to the
package.json
in this repository, ngx-codejar depends on codejar 3.7.0. However, when installing ngx-codejar it installs the newest codejar from npm as a dependency:On npmjs, the package.json looks different from the one in this repository and requires codejar >=3.7.0 which results in the failing build: https://www.npmjs.com/package/ngx-codejar?activeTab=code
Workaround
Our current workaround is to explicitly override the dependency to codejar in our package.json: