Coder Social home page Coder Social logo

[TypeError: Object #<Object> has no method 'env'] about html2jade HOT 3 CLOSED

donpark avatar donpark commented on June 17, 2024
[TypeError: Object # has no method 'env']

from html2jade.

Comments (3)

donpark avatar donpark commented on June 17, 2024

I need more information to find the problem, stack trace at least and example html file you are having issue with.

from html2jade.

iegik avatar iegik commented on June 17, 2024

$ ~/src/html2jade/bin/html2jade test.html
The "sys" module is now called "util". It should have a similar interface.
[TypeError: Object # has no method 'env']

The source of test.html:
<p>fff</p>

from html2jade.

donpark avatar donpark commented on June 17, 2024

I'm sorry but I just can't reproduce this.

don@ironforge:~/dev/github/html2jade/test/data
$ cat pfft.html
<p>ffft</p>

don@ironforge:~/dev/github/html2jade/test/data
$ html2jade pfft.html

don@ironforge:~/dev/github/html2jade/test/data
$ cat pfft.jade
html
  body
    p ffft

My html2jade installation:

├─┬ [email protected] 
│ ├── [email protected] 
│ └─┬ [email protected] 
│   ├─┬ [email protected] 
│   │ └── [email protected] 
│   ├── [email protected] 
│   ├── [email protected] 
│   └── [email protected] 

from html2jade.

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.