Skip to content

Allcountjs not initializing the application #147

Description

@fadyhashmi

I am having issue init allcountjs applications

allcoutjs>allcountjs init
Enter application name [helloworld-app]: test
Enter author name: faahd
Enter author email:
Enter description:
Initializing "test" application using "twenty-two-lines" template...
   create : test
   create : test\app-config
   create : test\package.json
C:\Users\Fahad\AppData\Roaming\npm\node_modules\allcountjs-cli\bin\allcount.js:85
                body.files.forEach(function (file) {
                    ^

TypeError: Cannot read property 'files' of undefined
    at Request._callback (C:\Users\Fahad\AppData\Roaming\npm\node_modules\allcountjs-cli\bin\allcount.js:85:21)
    at self.callback (C:\Users\Fahad\AppData\Roaming\npm\node_modules\allcountjs-cli\node_modules\request\request.js:186:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at Request.onRequestError (C:\Users\Fahad\AppData\Roaming\npm\node_modules\allcountjs-cli\node_modules\request\request.js:845:8)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at TLSSocket.socketErrorListener (_http_client.js:310:9)
    at emitOne (events.js:96:13)
    at TLSSocket.emit (events.js:188:7)

node -v is v6.9.1 and npm -v 3.10.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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