Open superbuggy opened 5 years ago
got the same problem. The solution:
to change in package.json line from
"gulp": "git+https://github.com/gulpjs/gulp.git#4.0",
to
"gulp": "git+https://github.com/gulpjs/gulp#v4.0.0",
and run npm i
manually.
Should be fixed by https://github.com/zurb/foundation-emails-template/pull/55
Should be fixed by zurb/foundation-emails-template#55
Just ran into this issue. @Todmy's solution fixed it.
So how to do I go about to change the line i.e "gulp": "git+https://github.com/gulpjs/gulp.git#4.0", to "gulp": "git+https://github.com/gulpjs/gulp#v4.0.0",?
So how to do I go about to change the line i.e "gulp": "git+https://github.com/gulpjs/gulp.git#4.0", to "gulp": "git+https://github.com/gulpjs/gulp#v4.0.0",?
@jstef53
In your project's package.json
file.
Under devDependencies
find gulp
.
Replace git+https://github.com/gulpjs/gulp.git#4.0
with git+https://github.com/gulpjs/gulp#v4.0.0
@luisreyes solved the problem for me...still an issue obviously with the latest package installing via npm / website doc...
Replace
git+https://github.com/gulpjs/gulp.git#4.0
withgit+https://github.com/gulpjs/gulp#v4.0.0
This is not the right solution.
Please use "gulp": "^4.0.0"
Tags are not the right solution as these could be removed at any time.
I change gulp to "^4.0.0"
within the packages.json file and run npm install
. The install fails as node_modules
is not installed and I have been returned a series of errors.
npm ERR! path /Users/admin/.npm/_cacache/index-v5/93/fe
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/Users/admin/.npm/_cacache/index-v5/93/fe'
npm ERR! { [Error: EACCES: permission denied, mkdir '/Users/admin/.npm/_cacache/index-v5/93/fe']
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, mkdir '/Users/admin/.npm/_cacache/index-v5/93/fe'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/Users/admin/.npm/_cacache/index-v5/93/fe' },
npm ERR! isOperational: true,
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, mkdir \'/Users/admin/.npm/_cacache/index-v5/93/fe\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/Users/admin/.npm/_cacache/index-v5/93/fe',
npm ERR! parent: 'hgemails' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/admin/.npm/_logs/2019-06-12T10_57_06_128Z-debug.log
@JHunnicutt This is a permission issue with your npm setup and the npm cache and not related to this. Please check the owner of /Users/admin/.npm/_cacache/
.
I am trying to create a new foundation email project but receive the errors detailed below. How have others been resolving this issue?
I've followed the recommended steps here, specifically
npm i gulp@next
, but have had issues with CSS not being properly inlined after runningfoundation build
. There is css that doesn't get inlined, and the final built files have a<link>
tag referring toapp.css
.Produces the following error...
shows the error...
I'm running...
on Mac OS X High Sierra
10.13.6 (17G65)
.