-
Notifications
You must be signed in to change notification settings - Fork 219
npm start issue in Windows Machine #54
Comments
I created a pull request with windows instructions, but here they are.
Hope this helps! i saw this guide and couldn't believe they only made it for macs and nobody posted windows instructions! |
Hi - I needed to edit the package.json in the "interactive-adventure-game-tool" folder to bump the version of require-dir from 0.2.0 to 0.3.2. You cannot just edit the file with an editor else the install will fail. I hope this helps! |
I have had a problem with python and just installed python 2.7 from here |
This is the error log I get when I do npm start
C:\Users\skyip\Documents\GitHub\interactive-adventure-game-tool\interactive-adventure-game-tool>npm start
C:\Users\skyip\Documents\GitHub\interactive-adventure-game-tool\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 (C:\Users\skyip\Documents\GitHub\interactive-adventure-game-tool\interactive-adventure-game-tool\node_modules\require-dir\index.js:97:37)
at Object. (C:\Users\skyip\Documents\GitHub\interactive-adventure-game-tool\interactive-adventure-game-tool\gulpfile.js:1:85)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Liftoff.handleArguments (C:\Users\skyip\Documents\GitHub\interactive-adventure-game-tool\interactive-adventure-game-tool\node_modules\gulp\bin\gulp.js:116:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:
node 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! C:\Users\skyip\AppData\Roaming\npm-cache_logs\2017-11-15T23_44_58_976Z-debug.log
Any help will be appreciated.
Also this is what I get after I do npm install
npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN [email protected] No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
The text was updated successfully, but these errors were encountered: