Open i-hardy opened 5 years ago
An actual reproduction reprository would help following your instructions.
Sorry for the delay, repro is here https://github.com/i-hardy/vue-cli-bug-repro-3757
Thanks
Can't reproduce this. After removing the local dependency that still pointed to your harddrive folder and adding the plugin through the UI, everything worked ...
Version
3.5.5
Environment info
Steps to reproduce
Create a vue-cli plugin according to the steps in this blog post: https://itnext.io/how-to-build-a-simple-vue-cli-plugin-a2e1323de1a0 (or pull Natalia's plugin). Make sure it has some dependency to create a node_modules folder.
Create a project using vue create that includes Babel, ESLint, Sass and Jest
Run the UI for the project using vue ui
Add the plugin from the file system via the UI via the 'browse local plugin' button.
Attempt to install the plugin
What is expected?
The plugin is installed, or a meaningful error message is generated
What is actually happening?
A confusing error relating to a missing Babel dependency: