Open
Description
I was previously able to install this plugin properly, just a few days ago and have everything running. But I keep running into this issue when I try again for a new nativescript vue project.
Error messages look similar for previous issues posted. But references different files here.
The dashboard and plugins tabs are gone now, so I cannot even do it from vue UI
Here on a successfully working install previously
Activity
scebotari66 commentedon Aug 6, 2019
+1
ramsesmoreno commentedon Sep 28, 2019
I manually installed @vue/cli-service and it is working now
npm install --save-dev @vue/cli-service
luiguild commentedon Oct 22, 2019
any news here? this problem continues...
bjornbjorn commentedon Nov 5, 2019
Tried to get up and running with NativeScript Vue just now and ran into this as well :/
pratik-soni-einfochips commentedon Nov 21, 2019
I have facing same issue since last 5 days.
I have found the solution for the same.
Please follow below steps to get it resolved.
Please remove npm and npm-cache folder from your computer's below location.
Windows :
C:\Users<username>\AppData\Roaming.
Linux/Ubuntu:
/usr/local
Then Follow below steps
1) npm install -g @vue/cli@3.10.0
2) Go to code sharing project Directory's root folder location where you have package.json
3)npm install --save-dev @vue/cli-service@3.5.0
4)npm install --save-dev vue-cli-plugin-nativescript-vue@0.0.12
5)vue invoke vue-cli-plugin-nativescript-vue after that it will ask you for some user input and i provided below inputs.
? Enter a unique application identifier: org.nativescript.application
? Use HTML5 history mode? (Default: hash mode) No
? Is this a brand new project? (Default: Yes) Yes
? Dual Native AND Web development experience or a Native only? (Default: Dual) Dual Native AND Web
? What type of template do you want to start with? (Default: Simple) Simple
Enjoy...
vue add nativescript-vue
with CLI v4 #34mklueh commentedon Nov 27, 2019
@pratik-soni-einfochips not helping in my case. Any news about some fix for this issue? I would love to try it out somehow
pratik-soni-einfochips commentedon Nov 28, 2019
@mklueh please help me to get below details.
Which vue version you are using, which OS you are using, Provide your package.json, Please provide error snapshot and last question Have you installed nativescript plugin globally ?
mklueh commentedon Nov 29, 2019
@pratik-soni-einfochips
My OS is Windows 10, have tried it with nativescript installed and uninstalled as well.
package.json
This is the current error
pratik-soni-einfochips commentedon Dec 23, 2019
@mklueh Please install vue 3.0..
By looking at the package.json i saw you have vue 2.6..
gerciljunio commentedon Feb 9, 2020
@ramsesmoreno this worked for me, I'm using vue-cli 4.1.2, thanks!
visionfortech commentedon Feb 21, 2020
http://www.visionfortech.com/2020/02/solution-invoking-generator-for-vue-cli-nativescript-cannot-find-module-main.ts.html
Above article helped me to get that error resolved