SPFx on Terminal Server - spfx

I have been setting up a terminal server, for development for our team. However i am having a hard time making the SPFx envoriment (Gulp / Yeoman) work.
I would love to install Yeoman and Gulp so it just works for everyone, however it beeing installed in the %appdata% directory is an issue here. Is it posible to install Yeoman and Gulp globally? npm install -g yo gulp, does not seem to install globally, or maby it is just me misunderstanding the parameter ?

SPFx development is not meant to be done using a terminal server. The SharePoint framework is built for local development. Each developer should run npm install -g yo gulp on their machine, following all the instructions at Set Up Your SharePoint Development Environment. Each dev can run their solution locally and debug it using the SharePoint Workbench. Both the local and the SharePoint workbench can use locally hosted SPFx components.
If your team is used to using SharePoint Designer, this is a significant change.

Related

Apache Cordova The system cannot find the file specified

I am developing Apache Cordova app on vs 2015 community with Angularjs on onsen.
And keep getting "The system cannot find the file specified" error no matter what i've done.
Things that i've done so far:
Clear cordova cache, Clean, Rebuild (like a hundred times)
Format pc, install everything
Copied the solution to another pc and worked fine nothing is wrong but does not work on my pc.
Close vs instances and change the folder name under Appdata/roaming/microsoft/local/phonetools/Corecon
And nothing changed still getting the same error when deploy starts.
My NPM version is 3.10.10, Cordova CLI is 6.1.1, nodejs version is 6.9.4 and JDK version is 1.8.3

Joyent Node.js The software is missing from your system. You may also have to configure it after installation

i have installed nodejs manually and from visual studio 2015 installation , but every time i check for apache cordova dependency cheker i get
Joyent Node.js The software is missing from your system. You may also have to configure it after installation
Same issue. I had installed Node.js version 6.9.1 manually. After uninstalling via Windows (Control Panel->Programs and Features->NodeJs->Uninstall), I was able to go to Control Panel->Programs and Features->VS2015->"Change"->"Modify" and was given the option to install the Joyent version. Prior to the uninstall, Joyent nodejs was not an option when trying to Change/Modify VS2015.

Error while trying to install CouchDB

I kept getting this error while I am trying to install CouchDB, may I know why? I am trying to install CouchDB into my cordova mobile app in Microsoft Visual Studio.
error
It can't find your python executable. You need to add PYTHON with the path to the executable to your enviroment variables.

When installing Appcelerator CLI, appc setup command throws error

I am trying to install the appcelerator cli but keep running into an issue that I haven't been able to find a fix for.
When running the "appc setup" command I get the error "cannot find module 'C:\cyclic.js'"
link to full screen capture of error
I am running windows 7 64 bit and am following the directions here https://web.appcelerator.com/product/cli
*Edit: If you are facing this same issue. Uninstall Node, and Appcelerator. Then make sure you install JDK 32 Bit (if using windows). DELETE the NPM and Appcelerator folders in your C:\Users[username]\AppData\Roaming\ directory. Then reinstall Node (I had success with 32 bit) and the Appcelerator CLI. That worked for me.
Hello make sure you have node.js and JDK installed and environment variable set properly. For reference http://docs.appcelerator.com/platform/latest/#!/guide/Installation_and_Configuration. Now, As you already tried "appc setup". You need to delete all cache of previous installation try and try reinstalling again. Run,
sudo rm -rf ~/.appcelerator
sudo npm uninstall -g appcelerator
appc use latest
appc setup
To setup the Appcelerator CLI, install Node.js, install the appcelerator module using the NPM CLI, then run the appc setup command to download and setup the latest CLI package. You can follow the guide here. Also you can check this link, if you experience an issue installing any of the npm packages.
If still not solved, I suggest you to start from scratch. I see you work on Windows, true?:
Remove install of NodeJS from "Uninstall programms" of control pannel
Remove install of Appcelerator from "Uninstall programms" of control pannel
Remove any folder from C:\Program Files or your user's folder referencing "node" "npm" or similar.
Go to your user's folder and remove any .app or .appcelerator folder (could be hidden, so look it well)
Don't forget to look in C:\Users\[username]\AppData\Roaming (probably will be hidden)
Now you have only Java JDK installed (I'm using 1.8).
Proceed with a new appcelerator.EXE install, it must detect that you don't have Node and will download by itself the proper Node version.

Can't start gulp in terminal

I'm trying to start gulp server to enable the Web Starter Kit. So far I've successfully installed all of the needed dependencies (Sass 3.4.13, gulp#3.8.11 and node), but I can't get the gulp server started from my project directory.
Thanks.

Resources