Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Rename jade to pug #870

Merged
merged 1 commit into from
Nov 18, 2017
Merged

[FIX] Rename jade to pug #870

merged 1 commit into from
Nov 18, 2017

Conversation

paradite
Copy link

@paradite paradite commented Nov 17, 2017

Hi, initially I cloned this repo because I wanted to fix a UI bug in the released version where the title for the note is not shown, and instead the word title is shown. Then I realized that this bug was already fixed in dev branch and dev branch is way ahead of master.

But I found another bug during the setup, that is caused by the renaming of jade into pug in the prismjs package since 1.8.2:

This bug causes the web app to throw error and stop working due to missing dependency:

Error: Cannot find module './prism-jade.min.js'.

Ideally the change should not affect this project because the version of the prismjs package is defined as 1.7.0 in package-lock.json, but somehow 1.7.0 in package-lock.json does not match package.json which is "prismjs": "^1.8.1". So when I did npm install, it fetches prismjs:1.8.4 and updates package-lock.json. Maybe you can regenerate the package-lock.json file? I've checked out package-lock.json in this PR.

FYI: npm's behavior regarding conflicting versions:

@coveralls
Copy link

coveralls commented Nov 17, 2017

Coverage Status

Coverage increased (+10.7%) to 94.905% when pulling 40973ad on paradite:dev into 32a569d on Laverna:dev.

@wwebfor wwebfor merged commit 17bcf81 into Laverna:dev Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants