Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Package.json generated with unavailable Gulp build from deleted branch #109

@superbuggy

Description

@superbuggy

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 running foundation build. There is css that doesn't get inlined, and the final built files have a <link> tag referring to app.css.

 $ foundation new --framework emails
? What's the project called? (no spaces) test-project

          _____
         /     \
        /=   . |
    ___| ==  | /    Thanks for using ZURB Foundation for Emails!
   /   | ===  \     -------------------------------------------
   |   | ====  |    Let's set up a new project.
   /__/| =====  \   It shouldn't take more than a minute.
       (   __   )
        (O)  (O)
       (   __,  )
        \______/


Downloading the project template...
Done downloading!

Installing dependencies...

npm ERR! git rev-list -n1 4.0: fatal: ambiguous argument '4.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 4.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 4.0: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 4.0:

There were some problems during the installation.

 ✓ New project folder created.
 ✗ Node modules not installed. Try running npm install manually.
 ✓ Bower components installed.

Once you've resolved the above issues, run foundation watch while inside the test-project folder.
 $ cd test-project
 $ npm i

Produces the following error...

npm WARN deprecated babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated gulp-uncss@1.0.6: Use UnCSS through gulp-postcss instead.
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated gulp-util@2.2.20: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated nodemailer@0.7.1: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
npm WARN deprecated lodash-node@2.4.1: This package is discontinued. Use lodash@^4.0.0.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated mailcomposer@0.2.12: This project is unmaintained
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated hoek@0.9.1: The major version is no longer supported. Please update to 4.x or newer
npm WARN deprecated mimelib@0.2.19: This project is unmaintained
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm ERR! code 1
npm ERR! Command failed: /usr/local/bin/git checkout 4.0
npm ERR! error: pathspec '4.0' did not match any file(s) known to git.
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     ~/.npm/_logs/2018-11-01T17_39_18_976Z-debug.log
cat  ~/.npm/_logs/2018-11-01T17_39_18_976Z-debug.log

shows the error...

2436 silly fetchPackageMetaData error for gulp@git+https://github.com/gulpjs/gulp.git#4.0 Command failed: /usr/local/bin/git checkout 4.0
2436 silly fetchPackageMetaData error: pathspec '4.0' did not match any file(s) known to git.

I'm running...

 $ npm -v
6.4.1
 $ node -v
v11.0.0

on Mac OS X High Sierra 10.13.6 (17G65).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions