Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

Cannot assign to read-only property 'exports' of object '#' #5

Closed
jean-noelp opened this issue Jan 18, 2018 · 6 comments
Closed

Cannot assign to read-only property 'exports' of object '#' #5

jean-noelp opened this issue Jan 18, 2018 · 6 comments

Comments

@jean-noelp
Copy link

Hello,

I'm trying to build your looking great package with webpack, but I encounter this issue :

capture d ecran 2018-01-18 a 09 56 51

Could you help me ?

@Itee
Copy link
Owner

Itee commented Jan 18, 2018

This part should be removed... I will take a look deeper, and come back soon.

@Itee
Copy link
Owner

Itee commented Jan 18, 2018

The release v4.2.3 should fix it.

Could you confirm, thanks ?

@jean-noelp
Copy link
Author

I confirm ! Thank you !

@Itee
Copy link
Owner

Itee commented Jan 18, 2018

You're welcome !

So i close.

@Itee Itee closed this as completed Jan 18, 2018
@dgorobopec
Copy link

dgorobopec commented Feb 20, 2018

@Itee Looks like the 5.0.1 brings back this bug.

Uncaught TypeError: Cannot assign to read only property 'exports' of object '[object Object]' at ligne 29771 where:

// browserify support
if ( true ) {
module.exports = Detector;
}

@Itee
Copy link
Owner

Itee commented Feb 22, 2018

The 5.0.2 should fix it again... Sorry for the disagreement !

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

No branches or pull requests

3 participants