だから、限りディレクトリ/Users/OwenLee/
としてこれは、Mac上のホームフォルダになります。あなたのHDDのルート/
には、サイドバーのMacintosh HD
(またはあなたのメインハードドライブの名前)をクリックして、Finderからアクセスできます。新しいターミナルウィンドウを開くと、ターミナルが起動するディレクトリになります。packages.json
というファイルをダウンロードしてSDKをダウンロードし、ホームフォルダに置くことで問題を解決できるはずですコマンドを再実行します。
あなたが本当にコミットしているのであれば、私はあなたの心を変えさせませんが、プログラミングに関する経験が全くないなら、JavaまたはJavaScriptよりも少し簡単なものから始めることをお勧めします。オブジェクト指向言語は、初心者のために非常に複雑で難しい(私は個人的にCのような母国語を何年も書いており、Javaの仕組みを理解し始めています)。
オプションの場合は、Macでサポートされている言語を使用することをおすすめします。おそらく、BashスクリプティングやApple Scriptを使い、端末で手作業で行うことが面倒なことをする基本的なスクリプトを作成するか、C & C++のようなプロセッサのネイティブ言語の基礎を知ることができます。実行したり、ユーザーに何かを入力したり、入力した内容を返信したりすることができます。最後に、あなたがMac上にいるので、アプリケーションストアでXcodeを無料で入手できます。それは自分自身を構成し、MacOSがWindowsをどのように処理するかを知るために遊んでいます。おそらく、基本的なプログラムウィンドウに、クリックするとさまざまなことが起こります
あなたが私の提案に興味があるなら、ここではbashスクリプトについての情報を見つけることができます:https://linuxconfig.org/bash-scripting-tutorial
チュートリアルでは読者はBashについての知識がないと仮定しており、ほとんどのコマンドはBashのバージョンあなたのMacのターミナルアプリ。
あなたがCにもっと関心を取る場合++、これは私がそれを書き、そして母国語がどのように機能するかを学ぶことを学ぶために使用されるサイトです:http://www.cplusplus.com/doc/tutorial/
は最後にここでの「Hello World」と呼ばれる基本的なC++プログラムは、それは、ありますややこのプログラムを書いて、それの各部分がどのように機能するかを学ぶためのC/C++の学生の開始の儀式である:
//HelloWorld.cpp the double slash tells the compiler and user that everything after it on this line is a comment, not code//
#include <iostream> //The octothorp '#' lets the compiler know it needs to use the library named inside the pointed brackets '</>' when it builds the programme. 'iostream' stands for In-Out Stream, and handles basic text, and basic processor commands//
using namespace std; //This line tells the compiler that any line that says to show text or ask the user to type something should use regular text and not a special format//
int main() //'int' stands for integer, any time you make a variable that contains only an integer you should put this in front of it's name, and 'main' is the name of the integer. The empty parentheses tells the compiler that this is a function, rather than a number//
{ //The open curly bracket '{' tells the compiler where the function starts
cout<<"Hello World"; //'cout' stands for 'character out' and is for showing basic text in the terminal window. The double pointy 'out' brackets '<<' tells the compiler that the text should be sent out of the programme rather than loaded into a variable, the text inside the quotes is what will be shown on the screen, and the semi colon tells the compiler where the command ends, it has to be put at the end of any command that is inside of a function//
return 0 //The command 'return' is for telling the compiler whether or not an error has occurred, 0 means the programme ran fine, 1 means something went wrong, either way the programme closes when it runs the command 'return'//
} //the closed curly bracket tells the compiler where the function ends//
幸運あなたのプログラミングに、あなたは、このスレッドとは関係のない質問があればしてくださいプライベートメッセージを私に自由に感じてもらうか、新しい質問を作成して通知を受けるようにタグを付けてください。
[ファクトスキルリポジトリ](https://github.com/alexa/skill)の 'src /'ディレクトリに移動した後、 'npm install --save alexa-sdk'コマンドを実行してもらいたいと思う-sample-nodejs-fact)、 'package.json'ファイルは – davedwards