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

New inline-style-prefixer version breaks this library #3

Open
fvicente opened this issue Sep 6, 2018 · 1 comment
Open

New inline-style-prefixer version breaks this library #3

fvicente opened this issue Sep 6, 2018 · 1 comment

Comments

@fvicente
Copy link

fvicente commented Sep 6, 2018

A few hours ago a new version of your only dependency "inline-style-prefixer" seems to have broken narcissus library. I'm not using your library directly, but as a dependency of a dependency, through react-modal-dialog. Here is the error I'm getting:

ERROR in ./~/narcissus/build/generate.js
Module not found: Error: Can't resolve 'inline-style-prefixer/static' in '....../node_modules/narcissus/build'
 @ ./~/narcissus/build/generate.js 14:14-53
 @ ./~/narcissus/build/index.js
 @ ./~/react-modal-dialog/lib/FlexDialog.js
 @ ./~/react-modal-dialog/lib/index.js

I've fixed this in my library by installing the previous version of "inline-style-prefixer" = 4.0.2, thus forcing npm to choose this version.
But I think that you should fix this on your package.json, instead of using "*" use the last version to work with your code, e.g. "^4.0.2". Does that makes sense?

thanks!

@albertwchang
Copy link

Experiencing the same problem, and did exactly the same as fvicente to fix the problem (directly installed ```inline-style-prfixer```` v4.0.2):

ERROR in ./~/narcissus/build/generate.js
Module not found: Error: Cannot resolve module 'inline-style-prefixer/static'

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

No branches or pull requests

2 participants