Errors when using plugins/packages
See original GitHub issueFound an issue or bug? Tell me all about!
New to electron so this is very possibly user error, and if so, I apologize in advance. Would very much appreciate some help.
When I import some packages into my project I get syntax errors in the console.
When I use the regular vue webpack-simple template with the same plugins an they work fine. Not sure what I’m doing wrong.
This is not for all plugins, just some. I’m unsure of how to debug the errors. The errors have so far come from template tags and css.
Describe the issue / bug.
#
Console Syntax Errors thrown on some plugins that work in regular vue webpack-simple template
How can I reproduce this problem?
#
vue init simulatedgreg/electron-vue my-project
$ cd my-project
$ npm install
$ cd app
$ npm install vue-video-player --save
then in app/src/renderer/main.js
import VueVideoPlayer from 'vue-video-player'
Vue.use(VueVideoPlayer)
then
$ npm run dev
If visual, provide a screenshot.
#
Tell me about your development environment.
- Node version: 7.9.0
- NPM version: 4.2.0
- vue-cli version: 2.8.1
- Operating System: Mac OSX (darwin platform)
Thank-you
If you are looking to suggest an enhancement or feature, then feel free to remove everything above.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
VUM stops working when one of the VCs is patched to 6.7 ...
VUM stops working when one of the VCs is patched to 6.7 P01 in enhanced linked mode with error "Could not resolve dependencies...
Read more >Installing from bro-pkg gives an error · Issue #5
When i try to install from the package manager with: bro-pkg install bro-community-id I get an error stating: Cannot determine Bro source ...
Read more >Plugins Packages and SolutionPackager mapping file
Does anyone try to configure SolutionPackager mapping file to ignore plugins packages nuget files during extracting and packing operations?
Read more >11 Errors Which Can Spoil Frontend Developer's Life
In this article you will find a list of 11 Top HTML & CSS mistakes which can spoil a developer's life. ... Use...
Read more >Provider plugins packages are not passing Lintian
Provider Plugins throws Lintian False-Positive Errors. This because these shared objects does not share any symbols from Glibc and Lintian ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rugor
Quick fix, update your
webpack.renderer.config.js
at line 19 to…Not entirely sure why some modules don’t like to be treated as externals. When installing
vue-video-player
, did you usenpm
oryarn
?Thanks @SimulatedGREG will look into that.