Skip to content

Doesn't Work With NPX

Jim Lynch edited this page Nov 23, 2019 · 1 revision

Hi, not sure if the maintainer of this project turned off issues or what? Idk hwy anyone would do that because I actually do have an issue.

This framework doesn't work with npx. When I do

npx foundation new --framework emails

I get this error (with node v11.15):

? What's the project called? (no spaces) fancy-email

          _____
         /     \
        /=   . |
    ___| ==  | /    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 fancy-email folder.

And with node v12.13.1 I get this error:

primordials is not defined
Clone this wiki locally