Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

epub-to-webpub command fails due to missing dependencies #17

Open
msimmer opened this issue Mar 29, 2022 · 0 comments
Open

epub-to-webpub command fails due to missing dependencies #17

msimmer opened this issue Mar 29, 2022 · 0 comments

Comments

@msimmer
Copy link
Contributor

msimmer commented Mar 29, 2022

After installing the CLI tool I get errors for missing modules chalk, ora, sade:

> epub-to-webpub "./project-reader/epub/60e71e7c1c97850004d0e867/META-INF/container.xml" "test.json"

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'sade'
Require stack:
...
code: 'MODULE_NOT_FOUND',

I'm running

➜ nvm ls current
-> v16.14.0

➜ npm --version
8.3.1

On Linux

Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

I think the issue is just that the modules are listed under devDependencies in the package.json

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant