soimy / msdf-bmfont-xml

Generate BMFont texture and spec XML using msdfgen

Home Page:https://soimy.github.io/msdf-bmfont-xml/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency 'handlebars' missing

PrimaryFeather opened this issue · comments

After installing the tool, any attempt to run it produced the following error:

module.js:491
    throw err;
    ^

Error: Cannot find module 'handlebars'
    at Function.Module._resolveFilename (module.js:489:15)
    at Function.Module._load (module.js:439:25)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/msdf-bmfont-xml/cli.js:7:20)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)

It was fixed by installing handlebars manually via npm install handlebars. But I guess you can include that in the list of dependencies, right?

Thank you for this bug report! Forget to move handlebars from devDependencies to dependencie
This is fixed in commit 369e582

Perfect! Thanks a lot for the quick fix! 😄