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 dependence #260

Closed
blaze87 opened this issue Dec 14, 2017 · 2 comments
Closed

🐛 Can't resolve dependence #260

blaze87 opened this issue Dec 14, 2017 · 2 comments
Labels

Comments

@blaze87
Copy link

blaze87 commented Dec 14, 2017

This is how I introduced js files:

<script src="./static/js/vue.min.js"></script> <script src="./static/[email protected]/index.js"></script>

When not packed, run normally;
The parcel was packed and then reported such a mistake:
[parcel] 🚨 D:\Patientinfo\static\[email protected]\index.js:1:215: Cannot resolve dependency 'vue';

If it's packed like this:

<script src="./static/js/vue.min.js"></script>; <script src="./static/js/jquery-3.2.1.min.js"></script>

That would be a mistake:
Uncaught ReferenceError: $ is not defined;
Uncaught ReferenceError: Vue is not defined

@DeMoorJasper DeMoorJasper changed the title can't solve dependence can't resolve dependence Dec 15, 2017
@DeMoorJasper DeMoorJasper changed the title can't resolve dependence 🐛 Can't resolve dependence Dec 15, 2017
@davidnagli
Copy link
Contributor

I’m not sure I understand. Do you mind filling out the issue template with exactly which commands you ran, as well as your version/os info?

Thanks :)

@brandon93s
Copy link
Contributor

See #333.

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

4 participants