kenchan0130 / markdown-to-atlassian-wiki-markup

Convert markdown to atlassian wiki markup
https://www.npmjs.com/package/@kenchan0130/markdown-to-atlassian-wiki-markup
MIT License
15 stars 3 forks source link

dist/index.js not found after installing module to project #219

Closed ada-lovecraft closed 3 years ago

ada-lovecraft commented 3 years ago

Neither yarn add nor npm install properly builds a distributable module nor does the dist directory exist in the repo. Error thrown upon running a simple test app:

Error: Cannot find module '/Users/ada/projects/md-to-adf-test/node_modules/@kenchan0130/markdown-to-atlassian-wiki-markup/dist/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:328:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:689:18)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1016:27)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Module.require (internal/modules/cjs/loader.js:1089:19)
    at require (internal/modules/cjs/helpers.js:73:18)
    at Object.<anonymous> (/Users/ada/github/joe-doc/renderers/confluence/index.js:2:23)
    at Module._compile (internal/modules/cjs/loader.js:1200:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
    at Module.load (internal/modules/cjs/loader.js:1049:32) {
  code: 'MODULE_NOT_FOUND',
  path: '/Users/ada/project/md-to-adf/node_modules/@kenchan0130/markdown-to-atlassian-wiki-markup/package.json',
  requestPath: '@kenchan0130/markdown-to-atlassian-wiki-markup'
kenchan0130 commented 3 years ago

@ada-lovecraft

Thank you for your report.

I have broken the publish mechanism in v3.1.1.

Fixed in v3.1.2. Please try the latest version.

If you have any more problems, please reopen this issue.