NuxtJS server not starting up on Windows 10 - vue.js

I installed NuxtJS v2.15.3 on my windows 10 system using NPM. When I try to run it using npm run dev using the integrated terminal of VSCode (also VSCodium), it just opens the nuxt.js file instead of running the server using the file.
I do not have any specific code to show here since it is just the default code we have as we run npm i nuxt. I found no way to tackle this as the same project ran perfectly on another Ubuntu machine. Any help is appreciated.
Main dependencies list:
nuxt: 2.15.3
bootstrap: 4.6.0
bootstrap-vue: 2.21.2
express: 4.17.1

Related

After I upgraded to macOS Ventura (13.0) nextjs and any npx command stuck

After I upgraded to macOS 13. I found a problem with command in nextjs first. I tried to run my project with: npm run dev
This is result:
> dev
> next dev
It stucked on this log very very long time.
and I tried to create another project using:
npx create-next-app#latest
Result same to nextjs
About my computer:
Macbook pro 2018 13-inch 4 ports
I used Oh My Zsh on terminal
my node.js version is 16.18.0 (16.9.1 on this question created)
UPDATED 27/10/22
After I asked in this community. I tried many way to solve this issues.
This is way I tried:
Reinstall macOS Ventura and not working
Change node.js version to 16.18.0 => 19.0.0 and downgraded to 16.18.0 and not working
And now this problem is still. I still can't resolve this problem :(
I also had the same problem when I tried to run the nestjs application. Also failed to install packages, I got this error every time
It turned out that this could be a problem related to the IPv6 configuration. I disabled this setting and everything started working fine
Maybe it will also help you.
UPDATES
You can find this settings
Updated 28/10/2022 This problem I can resolved!!!!!
Today, I tried to clean install macOS Ventura (by backup internal storage => erase internal storage => install macOS Ventura by bootable drive and recovery data from backup hard disk)
All commands worked normally!
If you found a problem like this, you can resolve by clean install macOS!

Where is swagger cli on windows

I just ran 'npm install -g swagger' on my Windows 8 box and it seems to have run successfully, but when I try and run the swagger CLI, as per https://www.npmjs.com/package/swagger, it doesn't know where it's at.
How do I get to that tool?
For windows 10 swagger gets installed as A NODE module under
C:\Users`your name`\AppData\Roaming\npm\node_modules\swagger
you will also see the following entries under :
C:\Users`your name`\AppData\Roaming\npm
- swagger.cmd
- swagger-project.cmd
hope this helps

Why is a yeoman scaffold so slow?

A simple yo webapp with a freshly installed Yeoman 1.4.6 and a freshly installed Node.js 0.12 (I've also tested with 0.10) takes four minutes on my computer! I'm wondering if things are configured as they should. Does npm have to download do all these things every time? What happened since Paul Irish initial demo?
My system is an Ubuntu 14.10, Node.js 0.12 installed using these instructions.
Update: Here's an asciicast from another machine (Ubuntu 14.04, Node.js 0.10, NPM 2.7.1): https://asciinema.org/a/17741
The "module" concept of node.js is around "download on first install and save to cache for future installs". Basically, then you start yo webapp on fresh node.js install, all required node.js modules are download from internet and saved to cache. Second yo webapp command will do much faster (like in demo) since all required modules are already downloaded to your computer.

installing phonegap on windows7 error

I am a web developer and new to Phonegap..
I was trying to install phone gap on my windows 7 machine as per described here
http://docs.phonegap.com/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface
but when i run the following command
cordova platform add android
i am getting the following error
[Error: An error occured during creation of android sub-project.
ERROR : executing command 'ant', make sure you have ant installed and added to y
our path.
]
does this mean that i should install apache ant on my machine ? if so can someone redirect me to right link.
I am also running wampserver on my machine for my other developments..
will installing 'ant' affect on my wamp ?
As described in PhoneGap Getting Started
Finally, you may need to include %ANT_HOME%\bin to your PATH as well. To check to see if this is required, run a command prompt and type ant. If the program can not be found add %ANT_HOME%\bin to the PATH. You may need to specify the full path instead of using the %ANT_HOME% environment variable.
If you need ant for Windows, you may want to download and install it from here
You need ant to add the android platform.
Ant is a java-based build tool.
You can get further informations and download it at http://ant.apache.org.
ant has nothing to do with the apache webserver and doesn't effect your wamp installation. It's another software product provided by the apache foundation.
lg
fastrde

Facing 'Unable to locate the CLI executable' on Windows

I just installed Titanium and I'm not really familiar with this IDE. I added Android SDK to start my first application and everything looks cool until I tried to see my application in Android Emulator. I'm getting Unable to locate the CLI executable. Please restart Studio or use Help > Check for Titanium Updates to install Titanium CLI. and Check for Titanium Updates Says No Titanium updates available. and restarting the studio multiple times didn't work too. I cannot even preview my application in web browser. What am I doing wrong?
I'm using Titanium Studio, build: 3.1.0.201304151600 on Windows Server 2008 R2 Everything is up to date Node.js, Android SDKs, etc. I'm trying to create a web-based application frt Android 2.2+ and mobile web.
Farid,
There are several things you can try.
1.Type titanium in your command line and hit enter.If it gives 'not recognised as an internal or external command',it means Titanium package is not properly installed.
2.Try uninstalling just the Titanium node.js package using npm titanium uninstall command.
3.Once uninstalled,open Titanium studio.It will prompt you for installing Titanium CLI.Follow the steps and install Titanium CLI.
4.If these steps do not work,then uninstall node and install everything from the studio itself,rather than from the command line.
Sometimes installing Titanium CLI from command line fails.
EDIT:Before you try all this type node in your command prompt and see if node command is being recognised.If it is not you will have to set it to the PATH variable.
Thanks to 'Mukund Samant' with useful workarounds, I managed to fix this problem [although I faced another problem] by removing node.js and installing an older version (0.8.22) and then installing node.acs package manually by runnig this command: npm -g install acs. Now Titanium won't give me any errors or update messages on startup.
Note that I found out I have to run Titanium Studio as Administrator!