I loaded nodejs 10 and then used npm for mojito but i received erros in the installing process.
I loaded nodejs 8 and then used npm for mojito and it installed smooth with some warnings for no readme files and some deprecations.
now I went to use mojito with
mojito create app foo
but first i just ran mojito bare to see what would happen.
and it told me to do this
npm install --global mojito-cli
but I received an error message when i did this
'scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! <email@example.com> preinstall: scripts/preinstall.sh
npm ERR! cmd "/c" "scripts/preinstall.sh" failed with 1
npm ERR! Failed at the <firstname.lastname@example.org> preinstall script.
npm ERR! This is most likely a problem with the mojito-cli package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scripts/preinstall.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls mojito-cli
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "--global" "mojito-cli"
npm ERR! cwd C:\Users\memyself\testspace
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! code ELIFECYCLE
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\memyself\testspace\npm-debug.
npm ERR! not ok code 0
npm i mojito -g
mojito create app foo
mojito create mojit bar
then navigate to <http://localhost>:8666/@bar/index
and it worked:)
but , if you guys are going to phase out the command line runner, i would like you to help me transition. and, i have a question, why phase out the command line? Is it really necessary?
? NOTICE, please read.
? The command line runner in the package "mojito" is now deprecated,
? and will be removed in a future release. Please install the package
? "mojito-cli" as follows:
? npm install --global mojito-cli
? All the commands should generally work the same, as long as the mojito
? package is declared as a dependency of your application, and installed
? with npm locally. More info at http://git.io/jJazAw
Available commands: build, create, docs, gv, help, info, jslint, profiler, start
, test, version
Cool, and thanks Caridy:)
if you can , make sure you tell folks to update the quickstart page and other mojito documents for the ability to work on windows and upcoming situations and how to handle them.