Code Monkey home page Code Monkey logo

Comments (18)

daleyarborough avatar daleyarborough commented on July 2, 2024 1

So the issue that I ran into was not changing the directory once I had installed npm. You then have to go back to the root directory where the skill.json file is located (you can find the .ask, .config, etc. here -- if you're new to this, try typing in cd .. (do this two times) to get back to the root directory once you've installed npm). Then you will be able to deploy with the command ask deploy once you are in the root directory. Hope this helps and doesn't further confuse anyone!

from skill-sample-nodejs-adventure-game.

error404notfound avatar error404notfound commented on July 2, 2024

what directory are you doing the deploy from? does
C:\Windows\System32\skill-sample-nodejs-adventure-game
actually have a skill.json in the folder?

DId you try and clone the whole cookbook? When I first tried I found I had a copy error once i fixed that it worked. I just tried it with this command and was able to clone the whole thing...

git clone https://github.com/alexa/alexa-cookbook

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

I am deploying it from both C:\Windows\System32\skill-sample-nodejs-adventure-game and from C:\Windows\System32\skill-sample-nodejs-adventure-game\lambda\custom. I have tried ask init in both directories. C:\Windows\System32\skill-sample-nodejs-adventure-game does indeed have a skill.json, and I opened it, and it did have the code necessary for a skill. I did not try to clone the whole cookbook, as all I wanted was the adventure game sample. Should that bring better results? Thanks...

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

Any updates?

from skill-sample-nodejs-adventure-game.

escottalexander avatar escottalexander commented on July 2, 2024

I have the exact same error after having the exact same git issue on the original file (alexa/skill-sample-gamebook/) on MacOS High Sierra.

I noticed a similar issue with the alexa/skill-sample-nodejs-audio-player project; Issue #69

I followed the thread with no luck but it might be helpful to the project maintainer as they resolved the issue.

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

Would you happen to know where to go from there? I need a project to be done by the end of April using this, and am lost on where to go from here.

from skill-sample-nodejs-adventure-game.

falent avatar falent commented on July 2, 2024

any update? I got the same issue

[Error]: Failed to deploy. Please ensure current working directory is the root of your skill project.

Im using debian

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

No, I haven't gotten any further. I do still need help with this though. Would be nice if Amazon kept up their support here.

from skill-sample-nodejs-adventure-game.

franklin-lobb avatar franklin-lobb commented on July 2, 2024

I'm investigating and will post an update when I find the root cause.

from skill-sample-nodejs-adventure-game.

franklin-lobb avatar franklin-lobb commented on July 2, 2024

The skill will now deploy from the command line using the 'ask deploy' command. Can you please try again and let me know if it resolved your issue?

from skill-sample-nodejs-adventure-game.

falent avatar falent commented on July 2, 2024

I discribed my solution here: https://stackoverflow.com/questions/50040138/alexa-ask-cli-how-to-add-a-custom-https-server/50040830?noredirect=1#comment87110040_50040830 Last answer. It works for me :)

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

I'll try once I am available.

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

No help. Still stuck.

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

It still doesn't find the skill.json. I am very confused now, since it is clearly there.

from skill-sample-nodejs-adventure-game.

JofCla avatar JofCla commented on July 2, 2024

I have the same issues, did you figure out the problem?
Thank you!

from skill-sample-nodejs-adventure-game.

incisor avatar incisor commented on July 2, 2024

the latest commit should work fine. The issue is .ask/config is missing before.

from skill-sample-nodejs-adventure-game.

TheCatster avatar TheCatster commented on July 2, 2024

Thanks! Yeah, I'm not new, and originally the file wasn't there. However, this is great for future reference! Is there any way to pin this post so people can see it again in the future?

from skill-sample-nodejs-adventure-game.

meneimoh avatar meneimoh commented on July 2, 2024

So the issue that I ran into was not changing the directory once I had installed npm. You then have to go back to the root directory where the skill.json file is located (you can find the .ask, .config, etc. here -- if you're new to this, try typing in cd .. (do this two times) to get back to the root directory once you've installed npm). Then you will be able to deploy with the command ask deploy once you are in the root directory. Hope this helps and doesn't further confuse anyone!

This worked for me. Thanks

from skill-sample-nodejs-adventure-game.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.