Closed shelane closed 7 years ago
@shelane what version of NPM are you using? should be 5.0 or higher.
Yes, my version is 5.4.1
@shelane this should be fixed. looks like gulp-imagemin had a breaking patch. i've switched over to gulp-image (https://www.npmjs.com/package/gulp-image), which may require additional setup.
I installed gulp-image with all of its dependencies and get a fail at ./task.sh frontend:install
I should have also included the log that the output mentioned, which I missed last time. Here is my log from npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/Users/french/.nvm/versions/node/v5.4.1/bin/node',
1 verbose cli '/Users/french/.nvm/versions/node/v5.4.1/bin/npm',
1 verbose cli 'run',
1 verbose cli 'install-dependencies' ]
2 info using npm@3.3.12
3 info using node@v5.4.1
4 verbose run-script [ 'preinstall-dependencies',
4 verbose run-script 'install-dependencies',
4 verbose run-script 'postinstall-dependencies' ]
5 info lifecycle boston@1.0.0~preinstall-dependencies: boston@1.0.0
6 silly lifecycle boston@1.0.0~preinstall-dependencies: no script for preinstall-dependencies, continuing
7 info lifecycle boston@1.0.0~install-dependencies: boston@1.0.0
8 verbose lifecycle boston@1.0.0~install-dependencies: unsafe-perm in lifecycle true
9 verbose lifecycle boston@1.0.0~install-dependencies: PATH: /Users/french/.nvm/versions/node/v5.4.1/lib/node_modules/npm/bin/node-gyp-bin:/Users/french/Sites/devdesktop/boston.gov/node_modules/.bin:/Users/french/.nvm/versions/node/v5.4.1/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/DevDesktop/drush:~/bin:/Users/french/.composer/vendor/bin:/Applications/DevDesktop/drush
10 verbose lifecycle boston@1.0.0~install-dependencies: CWD: /Users/french/Sites/devdesktop/boston.gov
11 silly lifecycle boston@1.0.0~install-dependencies: Args: [ '-c', 'yarn install' ]
12 info lifecycle boston@1.0.0~install-dependencies: Failed to exec install-dependencies script
13 verbose stack Error: boston@1.0.0 install-dependencies: yarn install
13 verbose stack spawn ENOENT
13 verbose stack at ChildProcess.yarn install
24 error spawn ENOENT
25 error Failed at the boston@1.0.0 install-dependencies script 'yarn install'.
25 error Make sure you have the latest version of node.js and npm installed.
25 error If you do, this is most likely a problem with the boston package,
25 error not with npm itself.
25 error Tell the author that this fails on your system:
25 error yarn install
25 error You can get their info via:
25 error npm owner ls boston
25 error There is likely additional logging output above.
26 verbose exit [ 1, true ]
Ah, good catch. I forgot to mention that we've switched from NPM to Yarn. You can get that installed here:
https://yarnpkg.com/lang/en/docs/install/
I'll get the documentation updated. Thank-you for your patience.
I get all the way to the point in the build process where I get a failure doing ./tash.sh frontend:build
[foreach] /Users/french/Sites/devdesktop/boston.gov/build/custom/phing/tasks/frontend.xml:6:44: Task exited with code 139
BUILD FAILED /Users/french/Sites/devdesktop/boston.gov/build/custom/phing/tasks/frontend.xml:3:31: Execution of the target buildfile failed. Aborting.
Total time: 42.2654 seconds