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

Can't resolve some dependencies #1568

Closed
ranfdev opened this issue Jun 17, 2018 · 1 comment · Fixed by #1577
Closed

Can't resolve some dependencies #1568

ranfdev opened this issue Jun 17, 2018 · 1 comment · Fixed by #1577
Assignees
Labels

Comments

@ranfdev
Copy link
Contributor

ranfdev commented Jun 17, 2018

🐛 bug report

When trying to import a certain dependency i get: Cannot resolve dependency '...'

🎛 Configuration (.babelrc, package.json, cli command)

The error comes when i try to build this package https://github.com/HenrikJoreteg/redux-bundler.
It works if i install it as usual, but i can't build it when it's linked.
I mean, if i install it like this, it works:
yarn install redux-bundler,
but if i do this:

git clone https://github.com/HenrikJoreteg/redux-bundler
cd redux-bundler
yarn link
cd ../my-app
yarn link redux-bundler

It can't resolves the redux-persist-middleware.

🤔 Expected Behavior

Parcel should resolve redux-persist-middleware as usual

😯 Current Behavior

Cannot resolve dependency 'redux-persist-middleware'`

💁 Possible Solution

🔦 Context

I'm trying to test the changes i made to my fork of redux-bundler.
The error doesn't show when i install it regularly because in that case, parcel looks for the compiled redux-bundler package (compiled using microbundle), which doesn't need any dependencies

💻 Code Sample

🌍 Your Environment

Software Version(s)
Parcel 1.9.1
Node 9.11.2
npm/Yarn yarn 1.7.0
Operating System elementary os 0.4 (based on ubuntu linux 16.04)
@ranfdev
Copy link
Contributor Author

ranfdev commented Jun 17, 2018

Found the bug! I'll open a PR as soon as i fix it

@ranfdev ranfdev changed the title Can't resolve dev dependencies Can't resolve some dependencies Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants