Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #178473
| From | "Thomas H. George" <lists@tomgeorge.info> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | alexa-app-server problem |
| Date | 2017-03-06 00:20 +0100 |
| Message-ID | <thNBv-7vz-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Has anyone had success using alexa-app-server?
I got a clone from https://github.com/matt-kruse/alexa-app-server.git,
used apt-get install npm nodejs and ran npm install. There were a bunch
of warnings of programs wanting node 0.10.32 and getting node 0.10.29
but nothing was marked as a fatal error. In the directory
alexa-app-server/examples I created the files index.js and package.json
to get a Hello World response. When I ran nodejs server the program
aborted from loading apps with the message
/home/tom/alexa-app-server/utils.js:21
return path.posix.normalize(path.posix.join('/', apiPath));
wiith a ^ pointing at the j in join and the message
TypeError: Cannot call method 'join' of undefined.
I assume the problem is the need to install the server with a newer
version of node. I found node v6.10.0 at nodejs.org so the Jessie
version must be way out of date.
I am just learning java and javascript and trying to learn to write an
Echo app by rote and making heavy weather of it. If anyone can give me a
boost with this problem I would really appreciate it.
Tom
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
alexa-app-server problem "Thomas H. George" <lists@tomgeorge.info> - 2017-03-06 00:20 +0100 Re: alexa-app-server problem - resolved "Thomas H. George" <lists@tomgeorge.info> - 2017-03-07 22:30 +0100
csiph-web