skill-sample-nodejs-adventure-game
skill-sample-nodejs-adventure-game copied to clipboard
Does not run "npm start"
[email protected] start /Users/klebermaia/Projects/Alexa/interactive-adventure-game-tool ./node_modules/gulp/bin/gulp.js
/Users/klebermaia/Projects/Alexa/interactive-adventure-game-tool/node_modules/require-dir/index.js:97 if (!require.extensions.hasOwnProperty(ext)) { ^
TypeError: require.extensions.hasOwnProperty is not a function
at requireDir (/Users/klebermaia/Projects/Alexa/interactive-adventure-game-tool/node_modules/require-dir/index.js:97:37)
at Object../node_modules/gulp/bin/gulp.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/klebermaia/.npm/_logs/2017-07-23T02_01_35_611Z-debug.log
I'm having this same error, trying to follow along with a tutorial that uses this, I have run into this issue.
in package.json, I updated "require-dir": "^0.2.0" to "require-dir": "^0.3.2",
I redid npm install to make sure it was fine, then npm start and everything ran fine. using node v8.2.1 and npm 5.3.0 not tested with any other versions, hence no PR submitted
Ah yes, and now after doing all my research for a fix I see a PR has been submitted already: https://github.com/alexa/interactive-adventure-game-tool/pull/43