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

cannot find external dependency of linked module #1617

Closed
alidcast opened this issue Jun 26, 2018 · 3 comments
Closed

cannot find external dependency of linked module #1617

alidcast opened this issue Jun 26, 2018 · 3 comments
Labels
🐛 Bug Stale Inactive issues

Comments

@alidcast
Copy link

🐛 bug report

Hey guys, thanks for all the great work with Parcel!

I'm actually creating a SSR framework for React that uses Parcel. However, since Parcel doesn't seem to have great support for external dependencies yet, I'm using rollup to bundle my package code, and Parcel to bundle the application code.

The problem I'm running into is that Parcel is unable to find the external depencies of linked modules - e.g. I'm getting an cannot find module react error. But I do not get this error if I download the actual package. So I'm guessing Parcel is treating the linked module differently.

This might be related to #948 But I actually want parcel to use the compiled code, rather than the source code.

🤔 Expected Behavior

Parcel treats compiled linked modules the same as downloaded modules.

😯 Current Behavior

External dependency is not found in linked module but found in downloaded one.

🌍 Your Environment

Software Version(s)
Parcel 1.9.2
Node 10.5.0
Yarn 1.7.0
Operating System Windows
@myronliu347
Copy link

How to solve ?

@sznowicki
Copy link

That seems to be a valid bug ticket still. Every time I try to develop some npm react libraries which are linked locally to parcel setup, parcel fails to build development env.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

@github-actions github-actions bot added the Stale Inactive issues label Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Stale Inactive issues
Projects
None yet
Development

No branches or pull requests

4 participants