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

Add special case for rox-ssr-multi-entrypoints #118

Open
styfle opened this issue Jun 8, 2020 · 0 comments
Open

Add special case for rox-ssr-multi-entrypoints #118

styfle opened this issue Jun 8, 2020 · 0 comments

Comments

@styfle
Copy link
Member

styfle commented Jun 8, 2020

rox-ssr-multi-entrypoints depends on rox-ssr which depends on rox-node and fails with:

Error: Cannot find module 'rox-node'
Require stack:
- /Users/styfle/Code/example/dist/node_modules/rox-ssr/dist/es6/utils.js
- /Users/styfle/Code/example/dist/node_modules/rox-ssr/dist/es6/index.js
- /Users/styfle/Code/example/dist/node_modules/rox-ssr-multi-entrypoints/dist/es6/index.js
- /Users/styfle/Code/example/dist/index.js

Steps to reproduce

  1. Run yarn add rox-ssr-multi-entrypoints
  2. Create a file with const { Rox } = require('rox-ssr-multi-entrypoints'); Rox.register('', {}); Rox.setup('12345')
  3. Run nft print index.js
  4. Expected node_modules/rox-node

Related to vercel/next.js#13736

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

1 participant