Closed markafitzgerald1 closed 6 years ago
nvm installed as first step towards reproducing issue locally. Latest version of Node.js 4 LTS, 4.9.1, also locally installed via nvm
to ensure am able to reproduce how Travis CI is running Node 4 builds of this project.
It will probably be helpful to test that Node.js 6 and 8 builds pass in order to pinpoint exactly which version jsdoc
stopped working in. That should make #28 fairly easy to close.
Latest version of Node.js 6 LTS, 6.14.1, locally installed and verified to build cribbage-analyst
succesfully and without warning once dependencies reinstalled - though install of dependencies has many deprecation warnings (filed as #30). Can leverage this piece of knowledge to add Node.js 6 to Travis CI targets as a part of resolution of #28.
Same issue exists in Node.js 8 LTS:
[03:48:18] Starting 'jsdoc'...
[03:48:18] 'jsdoc' errored after 210 ms
[03:48:18] Error in plugin 'gulp-jsdoc'
Oooooh! Failed rendering with jsdoc. What did you do?! Error: EISDIR: illegal operation on a directory, copyfile '/home/travis/build/markafitzgerald1/cribbage-analyst/node_modules/jsdoc/templates/default/static/scripts/linenumber.js' -> './jsDoc/scripts'
Issue does not exist in Node.js 6(.14.1) LTS.
Issue resolved in Node.js Active LTS 8 and Current (9) by replacement of deprecated and crashing gulp-jsdoc
with gulp-jsdoc3
in 6c3809b as a part of work to update deprecated dependencies for #30.
From the 2018-04-02 Travis CI log at https://travis-ci.org/markafitzgerald1/cribbage-analyst/jobs/361464866:
[03:35:00] Starting 'jsdoc'... [03:35:00] 'jsdoc' errored after 206 ms [03:35:00] Error in plugin 'gulp-jsdoc' Oooooh! Failed rendering with jsdoc. What did you do?! Error: EISDIR: illegal operation on a directory, copyfile '/home/travis/build/markafitzgerald1/cribbage-analyst/node_modules/jsdoc/templates/default/static/scripts/linenumber.js' -> './jsDoc/scripts' The command "node_modules/gulp/bin/gulp.js clean default" exited with 1. Done. Your build exited with 1.
Looks to be some sort of incompatibility with the version of
jsdoc
the Gulp pipeline is using and the current Node current.