Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Cannot find module './source-map/source-map-generator'



  • I trying to preview a new onsen project with monaca. I running this on mac os and i getting this error:

    monaca preview 
    getaddrinfo ENOTFOUND Dan-MacBook-Pro.local
    Failed serving project: Cannot find module './source-map/source-map-generator'
    

    I find similar issue in ionic forum. But it looks kinda old and I’m not sure is it from node/npm/java/onsen versioning or something else.

    Anyone face this issue before?



  • Same here.

    Generated the minimal example (Onsen IO and Angular 2) via:

    gmork@work:~/playground$ monaca create helloworld
    

    Then tried previewing it, but gave the following error:

    gmork@work:~/playground/helloworld$ monaca preview
    Failed serving project: Cannot find module './source-map/source-map-generator'
    

    Any suggestions?