Skip to content

Conversation

@manovotny
Copy link
Contributor

The tag.js file is missing when you try to use the published package. 😢

Error: Cannot find module './tag'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Users/manovotny/Developer/remark-mdx-metadata/node_modules/remark-mdx/index.js:2:15)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
error Command failed with exit code 1.

This PR fixes that.

Tested by running yarn pack in the /packages/remark-mdx folder.

@vercel
Copy link

vercel bot commented Feb 12, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

@vercel vercel bot temporarily deployed to staging February 12, 2019 04:20 Inactive
@silvenon silvenon merged commit 8d9d9b5 into mdx-js:master Feb 12, 2019
@silvenon
Copy link
Contributor

Thank you! 👍

@manovotny manovotny deleted the remark-mdx-tag-file branch February 12, 2019 19:54
johno pushed a commit that referenced this pull request Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants