alexa-samples / skill-sample-nodejs-adventure-game

This tool provides an easy to use front-end that allows developers to instantly deploy code for your story, or use the generated code as a starting point for more complex projects.
Apache License 2.0
510 stars 218 forks source link

Errors encountered on Windows 10 #1

Closed sadranyi closed 7 years ago

sadranyi commented 7 years ago

issue

rajington commented 7 years ago

I'm not on windows so I can't test, but I feel it might be on this line here

I don't think the package is ready for windows yet, but you might be able to fix it by adding node to both of the script lines in (interactive-adventure-game-tool/package.json):

From:

  "scripts": {
    "postinstall": "./node_modules/jspm/jspm.js install",
    "start": "./node_modules/gulp/bin/gulp.js"
  },

To:

  "scripts": {
    "postinstall": "node ./node_modules/jspm/jspm.js install",
    "start": "node ./node_modules/gulp/bin/gulp.js"
  },

If that doesn't work, remember to change it back before trying anything else

sadranyi commented 7 years ago

Sure just wanted to pass it on On Aug 2, 2016 7:48 PM, "Raj Nigam" notifications@github.com wrote:

I'm not on windows so I can't test, but I feel it might be on this line here https://github.com/alexa/interactive-adventure-game-tool/blob/master/gulp-tasks/_upload.js#L15

I'm wondering if it's extraneous to mention the base parameter, if you're willing to troubleshoot a little you can try changing the line ( interactive-adventure-game-tool/gulp-tasks/_upload.js):

From:

---return gulp.src('./src/skill/*/.{js,json}', { base: "." })

To:

+++return gulp.src('./src/skill/*/.{js,json}')

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexa/interactive-adventure-game-tool/issues/1#issuecomment-237119223, or mute the thread https://github.com/notifications/unsubscribe-auth/AAid3GXHLJbjbxWgy7zZDSFHyQT_D4kEks5qcAFugaJpZM4JbORi .

rajington commented 7 years ago

I'm guessing you probably got some errors when you ran npm install as well?

sadranyi commented 7 years ago

no everything was fine

On Tue, Aug 2, 2016 at 9:21 PM, Raj Nigam notifications@github.com wrote:

I'm guessing you probably got some errors when you ran npm install as well?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexa/interactive-adventure-game-tool/issues/1#issuecomment-237133365, or mute the thread https://github.com/notifications/unsubscribe-auth/AAid3KqqnSghyX5r354eUA2XSUtY8qXqks5qcBdJgaJpZM4JbORi .

rjamison commented 7 years ago

I tested things out on a Windows box and ran into the same issue. I tried the fix suggested by @rajington and seemed to clear things up so I've pushed a commit: edad8d998152bf310b0f5779f1a352aef5fe4110

Let me know if this clears things up for you and I'll close the issue.

rjamison commented 7 years ago

Closing since we haven't heard anything. Feel free to re-open if you're continuing to have issues.