Comments (27)
Hey @ferguson4848 , which step are you currently at? It was creating the credentials file in the aws directory, right?
Do you have Node.js installed? Or Git? From either Git CMD, Node.js, or just the Command Prompt try entering: "mkdir .aws" (without the quotations).
Once you've done that, try installing the AWS CLI (http://docs.aws.amazon.com/cli/latest/userguide/installing.html#cli-test-the-setup). Test it by following the "Test the AWS CLI Installtion" step.
Once you've got that working, then you can configure your credentials file. (http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-quick-configuration) Be sure to specify the correct region! The example uses us-west-2, but Alexa skills only run on us-east-1 in the US. (And something else in Europe that I can't recall.) You're going to need to have your AWS Access Key and Secret Access Key handy when doing this. (I need to look up the step by step on generating those, but it's in your AWS account). -- This whole page was really helpful to me in setting up those files.
from skill-sample-nodejs-adventure-game.
from skill-sample-nodejs-adventure-game.
Hopefully that gives you something to work with for now! This is helpful for me to go back and trace my steps on how I got mine working. I'm currently in the process of taking this (and other information) in an attempt to set a friend up, too. :)
from skill-sample-nodejs-adventure-game.
Thank you for the info.
I was able to make the aws folder and install ASW CLI and seems to Test fine.
Is the AWS ID and Key from IAM Roles, DynamoDB or somewhere else entirely?
from skill-sample-nodejs-adventure-game.
Also, I was able to install git and download the files, but what directory/program do I run the command npm install?
from skill-sample-nodejs-adventure-game.
Just inside the 'interactive-adventure-game-tool' dir.
from skill-sample-nodejs-adventure-game.
That is what I figured, but when I go to the directory I get this first:
GitHub\interactive-adventure-game-tool [master ≡]>
Then I try npm install, which results in:
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- npm install
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
from skill-sample-nodejs-adventure-game.
At first glance, it doesn't look like you have npm installed, which comes with Node.
from skill-sample-nodejs-adventure-game.
Okay, I installed Node 6.9.4 LTS and appears to have installed fine. I can open node.js and get a command prompt with a ">", but the npm command still gets a not recognized error.
Do I need to enable npm or something other than just the standard node install?
from skill-sample-nodejs-adventure-game.
Bit of an update, I ran the npm install again and alot of stuff happened. After a very long string of commands I got ok Install complete. [email protected] C:\Users\ and then a series of +-- items. Finally that all ended and I was back at the prompt:
...\Documents\GitHub\interactive-adventure-game-tool [master ≡ +1 ~0 -0 !]>
I tried the npm launch command, but got this result:
sage: npm
where is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
help, help-search, i, init, install, install-test, it, link,
list, ln, login, logout, ls, outdated, owner, pack, ping,
prefix, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, tag, team, test, tst, un, uninstall,
unpublish, unstar, up, update, v, version, view, whoami
npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview
Specify configs in the ini-formatted file:
C:\Users\mferguson.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help config
[email protected] C:\Program Files\nodejs\node_modules\npm
from skill-sample-nodejs-adventure-game.
What commend did you use for "npm launch"? It should be "npm start". Try that? @ferguson4848 Then you should see the following below as the game launches in a web browser. (Udon is my username.)
Then it says Access URLS: and some additional information, but I omitted that since it shouldn't matter~
from skill-sample-nodejs-adventure-game.
That did it! It opened in a web browser. Thank you so much.
I really appreciate you taking the time to help me through this.
from skill-sample-nodejs-adventure-game.
‘’“16 verbose cwd C:\Users\wuxb3.aws\interactive-adventure-game-tool
17 error Windows_NT 10.0.14393
18 error argv "C:\Program Files\nodejs\node.exe" "c:\program files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
19 error node v6.10.0
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error [email protected] start: node node_modules/gulp/bin/gulp.js
22 error Exit status 1
23 error Failed at the [email protected] start script 'node node_modules/gulp/bin/gulp.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the interactive-adventure-game-tool package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node node_modules/gulp/bin/gulp.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs interactive-adventure-game-tool
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls interactive-adventure-game-tool
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
”
help@AlBakerKY
from skill-sample-nodejs-adventure-game.
What should I do, where I went wrong @AlBakerKY
from skill-sample-nodejs-adventure-game.
@ginareams I have gotten everything to start in windows, but the save and upload functions do not work. I have the credentials set up in the correct location. Did you experience any issues with it?
from skill-sample-nodejs-adventure-game.
@natemunk I did run into issues uploading, but not saving. Before I get to uploading, when you save, are you seeing errors in the command line when you're saving? If so, it's quite possibly an issue with your credentials. Does this look familiar? #37
This page can help you get those set up: http://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html.
from skill-sample-nodejs-adventure-game.
from skill-sample-nodejs-adventure-game.
@natemunk Hmm. Ok. Give me a few minutes. I definitely did run into a similar issue, I solved it with some sort of manual upload process at the time, but let me see if I can find how I did that. -- I meant to eventually get around to a long term fix for uploading through the button, but haven't been in the tool for a while.
from skill-sample-nodejs-adventure-game.
from skill-sample-nodejs-adventure-game.
@natemunk So it's been a long time and I've apparently messed with something that's keeping me from running the tool on my machine. So unfortunately I can't write you a detailed walkthrough, but I found my solution from this thread: #3
It's likely you are actually saving changes, but it's not actually being zipped and uploaded. I manually zipped the files in the skills folder and uploaded it to lambda. There are several comments discussing that process in that thread above. I really hope that helps!
from skill-sample-nodejs-adventure-game.
@natemunk It's a bit late for me and I'm heading to bed, but if you don't end up solving it I'll see if I can get mine running again and figure out those specifics.
from skill-sample-nodejs-adventure-game.
from skill-sample-nodejs-adventure-game.
from skill-sample-nodejs-adventure-game.
Hi, sorry to bring up an old problem, but I got the credentials working correctly, when I run npm install it goes through but I get this error:
**C:\Users\hansa\interactive-adventure-game-tool> npm install
[email protected] install C:\Users\hansa\interactive-adventure-game-tool\node_modules\node-sass
node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
[email protected] postinstall C:\Users\hansa\interactive-adventure-game-tool\node_modules\node-sass
node scripts/build.js**
can anyone help me with this because I am unable to launch it
I'm not sure if you guys downloaded some proxy because it seems like no one else is having this problem.
from skill-sample-nodejs-adventure-game.
@natemunk Did you ever end up figuring it out?
from skill-sample-nodejs-adventure-game.
@natemunk Sorry the windows install didn't end up working out for you! I'm not even sure how my install just stopped working... Haven't gone back to revisit it, but now I have a Mac as well. :) So I may never try to get it working on Windows again.
Will check it out! Glad you got it working in some form at the end. :)
from skill-sample-nodejs-adventure-game.
from skill-sample-nodejs-adventure-game.
Related Issues (20)
- Build Error during npm install HOT 2
- Error During NPM Start HOT 2
- Guy's how do I record my name on alexa? and Reprompt it so....E HOT 1
- Where is gamebook.zip ? HOT 3
- Windows install missing files
- No .ask folder in repo HOT 3
- Could not open file: /index.js HOT 4
- Cannot
- Cannot "ask deploy"... Saying no skill.json or root! Also git error! HOT 18
- What does this line do? const linksRegex = /\[\[([^\|\]]*)\|?([^\]]*)\]\]/g; HOT 3
- ask deploy gives error HOT 6
- Unable to fine gamebook.zip file as mentioned in the instructions HOT 8
- What happened to the original version??!! HOT 7
- Repository not found HOT 4
- Request is not valid - Error parsing the requested content. Please validate the input HOT 5
- The repository link in the ReadMe.md file is incorrect HOT 1
- Instructions out of date in building template HOT 1
- Cannot find module 'alexa-sdk' HOT 1
- Inventory System
- Twine Variables Not Resolving
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skill-sample-nodejs-adventure-game.