Skip to content

Use this generator in node script #46

@rjousse18

Description

@rjousse18

Hi,

I'm trying to use this generator in node script to create an atom package. I search and i find this solution :
var yeoman = require('yeoman-environment'); var env = yeoman.createEnv();

But when I run my function I have this error :
TypeError: console.Console is not a constructor

What am I doing wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions