Open Fleshgrinder opened 9 years ago
What error do you see?
I imagine it'll be related to dtjm/node-multimarkdown#13, I'm not sure that it has been fixed in node-multimarkdown
Indeed it seems to be the same problem, relying on curl and trying to call make will not work well with Windows. I guess the original module has to be updated, right?
> multimarkdown@0.0.15 preinstall X:\project\node_modules\gulp-multimarkdown\node_modules\multimarkdown
> node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-fPIC -Wall
-O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build
X:\project\node_modules\gulp-multimarkdown\node_modules\multimarkdown>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure
'curl' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! multimarkdown@0.0.15 preinstall: `node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd
peg-multimarkdown && CFLAGS='-fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the multimarkdown@0.0.15 preinstall script.
npm ERR! This is most likely a problem with the multimarkdown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-
fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build
npm ERR! You can get their info via:
npm ERR! npm owner ls multimarkdown
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save-dev" "gulp-multimarkdown"
npm ERR! cwd X:\project
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
Can't you install cURL on Windows? http://curl.haxx.se/download.html
Sure, but what about the tar
and especially the make
calls? Windows needs special binaries.
My guess is because it is only meant for Linux, right?
node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='- fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build