Closed dmcassel closed 9 years ago
New to me. Does this ring a bell for anyone else?
@dmcassel Have you tried uninstalling slush-marklogic-node before linking/installing it again? I had some quirks myself because of that, but as early as during the install itself..
Interesting, googling for that error message seems to indicate it is related to nodejs/npm versions. There are specific combinations that seem to break. Other references suggest to upgrade nodejs. I thought some dependencies require at least 0.10.32, some 0.12. Though I am myself running on 0.10.26 actually, and without issues..
I went back to my slush-marklogic-node directory, removed the node_modules directory, and reran "npm install". Saw that some dependencies complained that I didn't have Node 0.12, so I upgraded to 0.12.7, reran npm install, then tried creating another project. Same error as above. I wonder if you might have a more recent version of something installed globally (bower, commander, gulp, jq, jshint, marklogic, mocha, npm, slush).
$ bower -v
1.4.1
$ gulp -v
[21:13:27] CLI version 3.9.0
[21:13:27] Local version 3.8.11
$ slush -v
[slush] 1.1.1
$ mocha -v
-bash: mocha: command not found
$ commander -v
-bash: commander: command not found
$ jq -v
-bash: jq: command not found
$ npm -v
2.13.1
$ node -v
v0.10.26
slightly more recent gulp?
Everything but below matches @grtjn . Will attempt issue to replicate on my machine
bower - 1.5.1 npm - 2.10.1 node - v0.12.4
Seems to work for me.
Worked fine with fresh installs on a VM. Must be a version problem with something on my Mac.
I used the generator to create a project, but it isn't running. I followed these steps:
sudo npm link
slush marklogic-node dmc
cd dmc
ml local bootstrap
ml local deploy modules
bower install
npm install
gulp serve-dev
At this point, I saw an error. Looking at the available tasks, I found the 'test' task shows the same error.
$ node -v v0.10.31
$ gulp -v [13:40:50] CLI version 3.8.7 [13:40:50] Local version 3.8.11
Do I have a bad version of something? Did slush fail to add something?