Straight to the point, I am trying to learn and play around with Ionic development.
Installed Node.js
and
npm install -g cordova ionic
, seems to install successfully , i can see the version. Now when i run the command ionic start , the folder gets created but after that i am getting a message Downloading and extracting starter after a few seconds it just stops. Then when i cd into the newly created directory i found nothing.
So what i have tried, i uninstalled cleaned and reinstalled node and cordova ionic for around 10 times, searched left and right of google and i am unable to find solution (Maybe i am not searching properly) . I am running Windows 7 sp1 ultimate edition, Turned off firewall ,restarted the system a few times . Nothing i am unable to move from this step, any Ideas, I am adding pictures for the reference.
any help and pointers will be greatly appreciated. What i am doing wrong ???
this is a home system and i am definitely not behind a proxy.
[EDIT]
as per the comment i tried and here is the result
EDIT today once again i retried with ionic now i am seeing different error
A successful ionic start should look like below:
Looks like for some reason this command doesn't complete on your machine. Not sure what goes wrong for you, but as an alternative to ionic start, you can try downloading the starter project yourself through github. Just install git, and then type:
git clone https://github.com/ionic-team/ionic-starter-sidemenu.git
Related
I installed node.js to work on a discord bot with VSCode but it didn't work.
I reinstalled it but ticked the 'install chocolatey' box this time, halfway through the installation I got 3 trojan alerts from my AV, and cancelled the installation.
Since then, I have been unable to uninstall, repair or reinstall Node.JS, through the Windows 10 uninstall function or from the Node.JS .msi file.
Each time I try, I get the same error message:
"The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed."
I've removed all instances of Node.JS from my program files and %appdata%, I've ensure the Installer Service is running, and yet the Node.JS application still shows in the Uninstall Tool and when I try to uninstall / modify / reinstall, it shows the same error, and seems to think it's still installed on my system! Not even Node.JS commands work in my CMD!
I've got no idea how to fix this, and I don't want to use glitch anymore to write my bot, so please help- or it seem's I'll have to factory reset my PC and hope that resolves the issue.
Thanks in advance, guys.
Godspeed.
EDIT: I tried installing a newer version hoping it would overwrite old Node.JS files. Didn't work. Issue still occurring.
Do these:
Open command prompt as Administrator and run /sfc scannow. It will scan and replace corrupted files.
Restart your PC when the scan is done.
Packed using: Electron-Packager
Database: sqlite
The app uses Knex as a driver to query to mysqlite.
The module which it says that it cannot find is already present! But then too the error shows up.
I tried to navigate to the resource/app and then use commands like
npm run rebuild
tried installing python, node and then tried but seems like it required some CL.exe file so had to dowload Visual Studio C++ packages too but unfortunately it didn't have that file in my case.
Also tried
npm install sqlite3 --build-from-source
but got error
Can anyone help me with the exact steps to take? I also need help in knowing do i have to take this steps on the package that is already build or before i build it?
The best possible fix i got is the build the system in windows and then deploy it for windows. You need to google at every step where it breaks and then fix it. There are many possibilities and hence i cannot describe it here.
Has anyone got a clear simple path for installing node-gyp correctly.
I am moving away from C# etc to node development - and while I am a newbie with node.js - I am quite disappointed that the major issues I have had have been with a Microsoft related tool.
I need node-gyp ( I think ) to be able to use printers and connect to serial ports & barcode scanners - so I need to be able to get it going consistently or somehow avoid it all together.
I have successfully compiled on 2 different machines.. but it seems that anytime I have to do something on a new machine ( for something like electron or windows server ) - then I seem to spend hours trying to get it going.
The following line is supposed to work:
npm install --global --production windows-build-tools
And then when adding a package than needs node-gyp - I get the following error
The Windows SDK version 8.1 was not found.
That SDK is installed already ( and tried reinstaling ) . I can't believe how horrible this is to configure and I have read may posts online that don't help.
It seems utterly ridiculous to install packages and complete development environments that are many GBs to get this going.
help!
I think you have not installed Windows SDK 8.1 correctly. Here is the download link:
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
When the download has finish, restart your computer and adding package ;)
~XeCrafT
would anybody happen to know the latest versions that work together on Windows Vista? I've been back and forth trying to get the right combination together but ng new never works for some reason or another.
(this is the older post showing what I already tried)
I'm having a bit of a problem here. I attempted to update angular/cli and I got errors telling me I need to update my version of node. I have windows vista so I'm pretty much stuck with node 5.7 and npm 3.6 until I can afford a new computer.
I tried uninstalling angular and clearing the cache and installing angular-cli#1.0.0-beta.14 and it installs. I can create a new project with it though it takes a long time to create it, and it also throws an error with node-pre-gyp. I came across an article on Github that said it's meant to be installed locally in the project and not globally. So I tried uninstalling, clearing cache and installing without -g to make it local within my project folder and it still has errors installing and I still can't serve my project.
How can I clear this all up and just start back with a clean slate of Angular2? I've looked around and everything I find leads me to the docs which are now updated to something beyond what my computer can handle.
I have windows vista so I'm pretty much stuck with node 5.7 and npm 3.6 until I can afford a new computer.
Have you considered running Linux? There are many versions with a lightweight GUI that runs well on older hardware. Ubuntu Mate is an example. It's harder to run node on Windows because of symlinks.
Installed node.js
Installed phonegap: npm install -g phonegap
Created the example app: phonegap create hello com.example.hello HelloWorld
Used the run command to test in Android: phonegap run android
What happened next is it didn't detect the Android SDK, so it asked me for build.phonegap.com account. I went ahead and created an account and entered user/pw and like magic, it created the app in the cloud. I pointed my qr code scanner to the screen and it installed on my Android phone. Cool, but...
I wanted to develop locally using the Android emulator. So I followed the instructions (http://docs.phonegap.com/en/3.0.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide) to install Android SDK, change PATH variables, etc.
When I went back to command line and cd to my phonegap root folder, suddenly "'phonegap' is not recognized as an internal or external command...'. I tried to reinstall phonegap with npm and it looks like it installs just fine again, but even when restarting cmd.exe, phonegap commands do not work.
Any ideas? Changing environment variables shouldn't affect phonegap already installed, right? The only other thing I can think is I had to install Ant and made an ANT_HOME system variable..
Apologies for the noob question. I'm sure I'm just messed up something simple here..
Figured this out. I accidentally DELETED the environment variables for node.js when I was trying to APPEND additional environment variables manually for android sdk & Ant. Since phonegap was installed as a node package, it wasn't recognized.
Better reinstall using the Msysgit and give the correct path. In my case envi variable path is as follows,
C:\Program Files\nodejs\; ->NodeJS path
F:\windows_adt\sdk\platform-tools; ->SDK Platform Tools
F:\windows_adt\sdk\tools; ->SDK Tools
C:\msysgit\bin; ->Bin Folder
C:\msysgit\git; ->git
C:\msysgit\libexec\git-core; ->git-core, if you want.
To reduce further errors use the recommended msysgit shell.