Skip to content

Instantly share code, notes, and snippets.

@gwpantazes
Created January 21, 2017 00:00
Show Gist options
  • Save gwpantazes/eaf8f9984174b7a323469d0d939eb793 to your computer and use it in GitHub Desktop.
Save gwpantazes/eaf8f9984174b7a323469d0d939eb793 to your computer and use it in GitHub Desktop.
Trying to Run gherkin-editor
george@testers-MacBook-Pro:~/gherkin-editor$ npm -v
3.10.3
george@testers-MacBook-Pro:~/gherkin-editor$ node -v
v6.3.1
george@testers-MacBook-Pro:~/gherkin-editor$ npm link
npm WARN prefer global [email protected] should be installed with -g
[email protected] /Users/george/gherkin-editor
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
└─┬ [email protected]
└── [email protected]
npm WARN [email protected] No license field.
/usr/local/lib/node_modules/gherkin-editor -> /Users/george/gherkin-editor
george@testers-MacBook-Pro:~/gherkin-editor$ git submodule update --init --recursive
Cloning into '/Users/george/gherkin-editor/vendor/ace/support/cockpit'...
fatal: remote error:
Repository not found.
fatal: clone of 'git://github.com/ajaxorg/cockpit.git' into submodule path '/Users/george/gherkin-editor/vendor/ace/support/cockpit' failed
Failed to recurse into submodule path 'vendor/ace'
george@testers-MacBook-Pro:~/gherkin-editor$ make
cat vendor/require.js vendor/jquery.js vendor/jquery.ui.core.js vendor/jquery.ui.position.js vendor/jquery.ui.widget.js vendor/jquery.ui.autocomplete.js vendor/jquery.ui.autocomplete.html.js vendor/post.js > public/js/require-jquery.js
george@testers-MacBook-Pro:~/gherkin-editor$ node server.js
/Users/george/gherkin-editor/server.js:1
(function (exports, require, module, __filename, __dirname) { require.paths.unshift(__dirname + '/vendor/ace/build/src');
^
TypeError: Cannot read property 'unshift' of undefined
at Object.<anonymous> (/Users/george/gherkin-editor/server.js:1:76)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.runMain (module.js:575:10)
at run (bootstrap_node.js:352:7)
at startup (bootstrap_node.js:144:9)
at bootstrap_node.js:467:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment