Skip to content

Ember 3.5: Could not find module ember imported from ember-web3/services/web3 #2

@samajammin

Description

@samajammin

First off - thank you for creating this addon!

I'm in the process of upgrading my Ember app from 3.0 --> 3.5. It looks like this update breaks this addon. Upon loading my application, I'm hit with this console error:

loader.js:247 Uncaught Error: Could not find module `ember` imported from `ember-web3/services/web3`
    at missingModule (loader.js:247)
    at findModule (loader.js:258)
    at Module.findDeps (loader.js:168)
    at findModule (loader.js:262)
    at Module.findDeps (loader.js:168)
    at findModule (loader.js:262)
    at requireModule (loader.js:24)
    at o (web3.min.js:1)
    at o (web3.min.js:1)
    at Class._extractDefaultExport (index.js:413)

I suspect the new way Ember imports modules is not allowing uses of import Ember from 'ember';:
https://github.com/gnazarkin/ember-web3/search?q=import+Ember+from+%27ember%27%3B&unscoped_q=import+Ember+from+%27ember%27%3B

Could you please update this addon to work with the latest version of Ember. Otherwise, do you know of any resources on how to accomplish this? Googled a bit but couldn't find much. With a bit of guidance, I'd be happy to take a swing at this & open a pull request.

Thanks again! Cheers

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