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

Can't resolve modules #57

Open
stoplion opened this issue Dec 5, 2017 · 4 comments
Open

Can't resolve modules #57

stoplion opened this issue Dec 5, 2017 · 4 comments

Comments

@stoplion
Copy link

stoplion commented Dec 5, 2017

Installed, imported. Getting these errors..
Can't resolve '../lib/language-code-rewrites'
Module not found: Error: Can't resolve './block-tags'
Module not found: Error: Can't resolve './void-tags'

@qzb
Copy link

qzb commented Jan 3, 2018

@stoplion This issue affects only version 2.0.5, try to install 2.0.4 instead.

@kent-mcleod
Copy link
Contributor

This problem appears to be caused by the *.json files from ./src not being included in the npm package.

@smoke-indica
Copy link

2.0.5 is being distributed by npmjs

@electriquo
Copy link

@smoke-indica: issue still exist on version 2.0.5.

$ npm install --save tidy-markdown
$ npx tidy-markdown
Cannot find module '../lib/language-code-rewrites'
Require stack:
- /Users/foo/bar/node_modules/tidy-markdown/lib/converters.js
- /Users/foo/bar/node_modules/tidy-markdown/lib/index.js
- /Users/foo/bar/node_modules/tidy-markdown/lib/cli.js
- /Users/foo/bar/node_modules/tidy-markdown/bin/index.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

5 participants