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

Unable to use in Project #15

Closed
fameoflight opened this issue Nov 27, 2020 · 1 comment
Closed

Unable to use in Project #15

fameoflight opened this issue Nov 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@fameoflight
Copy link
Contributor

fameoflight commented Nov 27, 2020

When doing import I am running into ./node_modules/jepub/src/jepub.js
Module not found: Can't resolve './tpl/OEBPS/front-cover.html' in '/Users/hemantv/workspace/tellado/tellado-webapp/node_modules/jepub/src'

any ideas what might be going on here?

@lelinhtinh lelinhtinh added the bug Something isn't working label Nov 28, 2020
@lelinhtinh
Copy link
Owner

Actually, I've never run this project in a nodejs environment. 😳

Importing from the dist directory will work:

import jEpub from "./node_modules/jepub/dist/jepub.js";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants