Code Monkey home page Code Monkey logo

Comments (17)

cheahkhing avatar cheahkhing commented on May 18, 2024

+1 here, i got the exact same errors, just whole bunch of these errors and i can't use the module in my application. Anyone got any idea how to fix this? Thanks.

from email-templates.

niftylettuce avatar niftylettuce commented on May 18, 2024

@dioscarey @cheahkhing i just republished the email-templates-windows module to NPM at version 0.1.0. can you try using that? you might need to npm cache clean. also there is a windows guide for contextify here https://github.com/brianmcd/contextify/wiki/Windows-Installation-Guide -- perhaps you can try that and then report back with the how-to to get it to work? could we automate this somehow? thanks!

from email-templates.

zumek avatar zumek commented on May 18, 2024

I'm also getting similar errors. Have followed the above advice but have no luck. I'm on win8. Any additional help would be much appreciated. Thanks!

npm http GET https://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:980:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771:34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "D:\apps\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"

from email-templates.

dioscarey avatar dioscarey commented on May 18, 2024

the problem was that i didn´t put python path correctly. Now works pretty good!

from email-templates.

zumek avatar zumek commented on May 18, 2024

Thanks for the reply. I've checked the path and I can access python.exe from command line. Or are you referring to somewhere else that I need to correct the path?

from email-templates.

dioscarey avatar dioscarey commented on May 18, 2024

python path system environment variable. And I recommend you to use python27 because i had several problems with python33,

from email-templates.

niftylettuce avatar niftylettuce commented on May 18, 2024

Have you guys had any luck here? I would like to see everyone being able to use this module.

from email-templates.

zumek avatar zumek commented on May 18, 2024

I just tried with py27, PYTHON evn var and PATH set, can run python.exe - unfortunately problem still remains.

Would love to get this going somehow...pls let me know if there's any further info I can provide. Thank you!

from email-templates.

dioscarey avatar dioscarey commented on May 18, 2024

Do you have visual stdio installed?

from email-templates.

zumek avatar zumek commented on May 18, 2024

Nope

from email-templates.

dioscarey avatar dioscarey commented on May 18, 2024

Try to install it because i know that node-gyp require vs

from email-templates.

zumek avatar zumek commented on May 18, 2024

ah ok, thanks for clarifying. I never use VS in my workflow, so looks like I'll have to find something else to do the job. Appreciate all the help!

from email-templates.

niftylettuce avatar niftylettuce commented on May 18, 2024

@zumek still no luck?

from email-templates.

zumek avatar zumek commented on May 18, 2024

@niftylettuce I gave up after I found out about VS dep. requirement.

from email-templates.

niftylettuce avatar niftylettuce commented on May 18, 2024

@zumek why don't you just emulate a real server environment by running Ubuntu 12.04 LTS or something? it'd be much better and more professional than working in Windows.

from email-templates.

jasonsims avatar jasonsims commented on May 18, 2024

This issue isn't an error with email-templates. It's related to the contextify's dependency on jsdom and contextify is required by juice. Developing on osx/linux is recommended but if you only have access to a Windows machine you can either:

  1. Use vagrant to create a linux dev environment (recommended)
  2. Follow the Windows installation guide for contextify

After one of the above is complete, run npm install email-templates and you should be good to go.

from email-templates.

zumek avatar zumek commented on May 18, 2024

Thanks for the recommendations guys. Will try it out. I'm a total linux noob so haven't ventured in to it. Plus I've only got Win versions of Adobe product which I need on a regular basis.

from email-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.