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

Keep getting unexpected identifier error? anyone has any solution to that? #19

Open
pumasa opened this issue Jun 21, 2022 · 2 comments
Open

Comments

@pumasa
Copy link

pumasa commented Jun 21, 2022

No description provided.

@Tmax9663
Copy link

Edit models/article.js
const marked = require('marked')
change to
const {marked} = require('marked')

and for each .ejs inside views/articles folder
replace bootstrap cdn to "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.1/css/bootstrap.min.css"

@case-2
Copy link

case-2 commented Feb 17, 2023

thankyou so much @Tmax9663 your solution worked, it saved my entire day from going waste as i am new to js.

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

No branches or pull requests

3 participants