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

Package exports for #longpath# do not define a '.' subpath #1398

Closed
stolinski opened this issue Feb 21, 2020 · 4 comments
Closed

Package exports for #longpath# do not define a '.' subpath #1398

stolinski opened this issue Feb 21, 2020 · 4 comments
Labels

Comments

@stolinski
Copy link

Bug Report

Describe the bug

Adding Docz to an existing TSDX project. First time running docz:dev gives

Generating SSR bundle failed

[BABEL] /Users/scotttolinski/Sites/fresh-forms/.docz/.cache/develop-static-entry.js: Package exports for '/Users/scotttolinski/Sites/fresh-forms/node_modules/@babel/preset-env/node_modules/@babel/helper-compilation-targets' do not define a '.' subpath

File: .cache/develop-static-entry.js

To Reproduce

clone https://github.com/leveluptuts/fresh

re-install docz or try to run docz:dev

Expected behavior

A build to happen.

Environment

  • docz version: 2.2.0
  • OS: 10.13.4
  • Node/npm version: Node 13.1
@stale
Copy link

stale bot commented Apr 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 22, 2020
@stolinski
Copy link
Author

Bummer. This is still a problem and the reason I don't use Docz currently.

@stale stale bot removed the stale label Apr 22, 2020
@jesperorb
Copy link
Contributor

Seems like an issue with our version of Babel and running node 13, can you try if you get the same problem with node 12 or earlier?
babel/babel#11006

We will look into updating babel to a later version if that is the problem.

@jesperorb jesperorb added bug Something isn't working conflicting dependencies labels May 1, 2020
@stale
Copy link

stale bot commented Jun 30, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 30, 2020
@stale stale bot closed this as completed Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants