trying to install Polymer 2 CLI - macos

I am trying to run a web app using Polymer. I recently installed Bower & Polymer CLI via Bower – however, whenever I attempt to run 'polymer serve' I receive the message '-bash: polymer: command not found' on Terminal.
Any tips on how I can get this working?
Thanks.

You should update the polymer-cli then create a project using polymer init, use polymer 3.0 app which use npm instead of bower the run polymer serve

This is usually due to an old version of node. I suggest you update node, as well as npm and git. Try installing polymer-cli again with the new node. Then you should be able to run polymer command.

This generally happens when the module is not installed or configured properly or an outdated version. Install or update the required module i.e, polymer-cli. After installing open new terminal or restart terminal and run polymer serve command.

Related

How do I open a Strapi project after closing it?

How do I open a Strapi project after closing it?
I created a project in Strapi, but after I closed it, I don't know how to open it again.
The command for starting up a strapi project is :
using npm:
npm run develop
using yarn:
yarn develop
Once the server is started you can access it on http://localhost:1337/
P.S: Make sure you run npm install or yarn install to install the project dependencies before running the above commands.

I need help for REACT in windows

Today i installed react in my pc with windows, i had to install chocolaley, i didnt like this, but no problem, i installed chocolaley. Now, when i want to create a app (in the powershell of windows) using the command meteor install my_app the Meteor is so slow, and the instalation dont finish, the message that show all the time is meteor loading package standard-minified css I need hellp, and now i cant use linux or OSX. I have to tried the solution but i cant now.
Try npm cache clean --force to clear your npm cache then install meteor again

NativeScript Sidekick won't run since CLI 3.2.1 update doesn't work

I opened NativeScript Sidekick on my Mac and it updated to the latest version 0.2.5.
It shows a dialog stating I need to update NativeScript CLI to 3.2.1 and the only option is to quit.
I went to Terminal and tried tns update but it won't update to 3.2.1 saying the platforms for 3.2.1 are not available. (I posted to the NativeScript forums and was told that is correct -- the platforms are at 3.2.0 while only the CLI is updated to 3.2.1.)
I also tried tns update 3.2.1 which simply says 3.2.1 platforms are not available.
tns doctor says 3.2.1 update is available.
NativeScript CLI version is 3.2.0
npm version is 5.4.1
node version is 6.11.3
I've tried creating a new project and it gives me the same issues.
How can I update to NativeScript CLI 3.2.1 so that I can run NativeScript Sidekick?
Solved over on https://discourse.nativescript.org/t/tns-update-3-2-1-not-working/2766/5
the command tns update will update your project, not CLI. If you want to update CLI do:
npm uninstall -g nativescript
npm clear cache
npm install -g nativescript
The command ths update is currently not working, we’ll investigate.
If you are using nvm to manage your NodeJS versions you can try to set the default version to the one that has installed NativeScript CLI. For example if you have NativeScript CLI on NodeJS version 8.9.2, execute:
nvm alias default 8.9.2
To check the packages installed on your active NodeJS version, execute:
npm list -g --depth 0

How can I set up a mean stack app with mean.io which uses angular 1.4 and bower?

I want to code an app in angular 1.4 and for that I came across mean.io the best scaffolding tool presently.But when i downloaded it,i got webpack and tons of various unfamiliar stuff.Please tell me how i can download a mean.io app which uses angular 1.4 or if not then a nice scaffolding tool for angular 1.4 and steps to install it.That would be a great help !
Thanks in advance.
What you can do is head over to the Github page for the mean.io framekwork at this link Mean.io Github version 0.7.0. From there take a look at the read me and scroll follow the instructions.
You'll need to install mongo database on your machine and make sure its running each time you want to run your application. Here is a good link, follow it step by step. MongoDB install - windows
Then you will have to have the latest version of node.js installed. It can be installed here. node js download
You will also need to install the latest version of Git to your machine. It can be installed here Git download
Once the above are done, you will need to navigate to a directory on your computer using the command prompt/terminal and type the following commands. I suggest you go to C:\Users\YourName
npm install -g npm
npm update -g
npm install -g mean-cli
npm install -g bower
They will take some time so be patient.
Then type this command to clone the boilerplate code to your machine
mean init <yourAppTitle>
When that is done change directories into the project folder you just made like this
cd yourAppTitle
Then inside this folder type the following commands to install to your project
npm install
bower install
You may see some warning signs/errors and you can ignore them for now and proceed.
Finally, type this command inside your project folder - this will start your app. Remember to have mongodb running simultaneously or this will not work
gulp
Head over to your browser and type in localhost:3000
You should see the boilerplate code.
If you cannot get Mean.io working you can try installing a different angular scaffold here - angular scaffold. Read through the readme file and you will see steps to install the angular scaffold

MEAN install not working

I am not sure why my MEAN install is not working. I am trying to get a test page on localhost:3000 for a class that I am taking. here is a screenshot of my terminal:
my terminal
Your must be install yeoman to install and create a MeanJS project.
The scaffolding tool (you may have already installed it as it is part of the Yeoman tool set). To globally install yo, you will need to use npm:
$ npm install -g yo
Install the generator, with:
$ npm install -g generator-meanjs
Finnaly, create a project
$ yo meanjs
I noticed you're trying to use mean-cli. Taking into account that you included the meanjs tag, I will respond based on this.
Well, you do not specify what mean framework you're using, I think Mean.IO is that.

Resources