Comments (5)
Hi!
I think you problem comes from npm install -g @vue/cli-init
which is only needed for pulling old template for Vue-CLI 2.x (see https://cli.vuejs.org/guide/creating-a-project.html#pulling-2-x-templates-legacy).
This project is for Vue-CLI 3+, so you don't need to intall @vue/cli-init
.
I think you can make things working by running
$ npm uninstall -g @vue/cli @vue/cli-init
$ npm install -g @vue/cli
$ vue create --preset kocal/vue-web-extension my-extension
from vue-web-extension.
Hi! Thanks for the quick reply. What would the difference be with your last command and vue init kocal/vue-web-extension new-tab-page
? In the tutorials that's the command they use, and if possible I'd like to use that one to be able to follow up closely with the tutorial to learn first before doing. :)
Also, I tried running the secon command (npm install -g @vue-cli) but received this error:
from vue-web-extension.
vue init ...
is for pulling legacy templates (Vue-CLI 2), see https://cli.vuejs.org/guide/creating-a-project.html#pulling-2-x-templates-legacy.vue create
is for pulling "new" templates (Vue-CLI 3+).
Also, I tried running the secon command (npm install -g @vue-cli) but received this error:
Yeah sorry, I've made a typo, you should run npm install -g @vue/cli
from vue-web-extension.
Thank you for the quick reply! Sorry for not following up sooner, didn't have the time to do so...
I managed to execute the commands you listed and asked ESLINT to only prevent errors (it makes me rage anyway) and here we go , it's already complaining..
Any idea how I can resolve this? I didn't do anything in the folder yet, just ran these commands. My folder looks like this now:
from vue-web-extension.
Managed to run it, already getting errors without modifying any files.. I'm closing this issue, feel free to re-open if you'd like to continue but I think I just gave up..
from vue-web-extension.
Related Issues (20)
- executeScript with a file?
- Extension not reloading (webpack-extension-reloader)
- Does it support Vue3 and TypeScript? HOT 1
- 'appendChild' of undefined when adding css
- When I run default Vue Chrome Extension, Hello World component is not being rendered HOT 1
- Vuetify stylesheets not added to page in production mode HOT 4
- Error an unexpected error occurred: "https://registry.nlark.com/@types/http-proxy/download/@types/http-proxy-1.17.7.tgz: Request failed \"503 Service Unavailable\"". HOT 2
- support Vuetify HOT 1
- Error running freshly created project HOT 1
- Vuex: `$store` undefined HOT 2
- Running the dev server on a specified port HOT 5
- Is the repository compatible with Manifest V3 HOT 1
- How to use jQuery in background.js
- Cannot fetch
- Cannot serve and build HOT 3
- cannot run serve HOT 1
- Unable to compile or run HOT 6
- Built result will be different when environment change or node_modules be reinstalled HOT 6
- 执行 “npm install -g @vue/cli npm install -g @vue/cli-init vue create --preset kocal/vue-web-extension my-extension” 提示Error resolving webpackConfig TypeError: Cannot read property 'ignore' of undefined .. ....new-tab-page\node_modules\vue-cli-plugin-browser-extension\index.js:129:20 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-web-extension.