Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMX Digital import reference error #3917

Closed
DecayConstant opened this issue Jun 17, 2019 · 1 comment · Fixed by #3921
Closed

EMX Digital import reference error #3917

DecayConstant opened this issue Jun 17, 2019 · 1 comment · Fixed by #3921
Assignees

Comments

@DecayConstant
Copy link

DecayConstant commented Jun 17, 2019

Type of issue

Bug @EMXDigital

Description

The EMX Digital adapter has reverted to importing files by absolute paths, not relative paths. They had fixed the issue previously: #3731 (comment)

Steps to reproduce

Try importing the EMX Digital adapter.

import prebid from 'prebid.js'
import 'prebid.js/modules/emx_digitalBidAdapter'

That results in this error message:

ERROR in ./node_modules/prebid.js/modules/emx_digitalBidAdapter.js
Module not found: Error: Can't resolve 'src/utils' in '/Users/user/dev/video-player/node_modules/prebid.js/modules'

Other information

The regression happened in this PR: #3840

@jsnellbaker
Copy link
Collaborator

@DecayConstant Thanks for raising this issue; I found there were import syntax issues for several other adapters as well. I'll put together a fix for this in a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants