Closed kennetpostigo closed 7 years ago
I have the same issue. Some fix?
@kennetpostigo just remove node_modules from this module
I am experiencing the same issue with no solution so far. It may be related to react-native being the one with issues. What is the highest version of react-native that this package supports?
I am surprised there is no additional packages for such a common task (sending SMS).
Well. It was build on react native v0.31 or 0.32. Give me some time, I will upgrate it soon.
On 1 Oct 2017 20:45, "abdalafer" notifications@github.com wrote:
I am experiencing the same issue with no solution so far. It may be related to react-native being the one with issues. What is the highest version of react-native that this package supports?
I am surprised there is no additional packages for such a common task (sending SMS).
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yeyintkoko/react-native-sms-x/issues/3#issuecomment-333379484, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ5oKxtwOyYhRdNfSHIJl5K16WmKHSu_ks5sn56FgaJpZM4OTuGA .
I just downgraded to v0.31 and it continues to give duplicate package issues: Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: String.prototype.es6
Paths: Documents/reactprojects/AwesomeProject/node_modules/react-native-sms-x/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js collides with Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js
This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
Duplicate module name: String.prototype.es6
Paths: Documents/reactprojects/AwesomeProject/node_modules/react-native-sms-x/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js collides with Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js
This error is caused by a @providesModule declaration with the same name across two different files.
at HasteMap._updateHasteMap (/Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/node-haste/DependencyGraph/HasteMap.js:155:13)
at module.getName.then.name (Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/node-haste/DependencyGraph/HasteMap.js:115:31)
at <anonymous>
Any suggestions?
Did you try removing node_modules folder and run npm install?
On 2 Oct 2017 08:45, "abdalafer" notifications@github.com wrote:
I just downgraded to v0.31 and it continues to give duplicate package issues: Failed to build DependencyGraph: @providesmodule naming collision:
Duplicate module name: String.prototype.es6 Paths: Documents/reactprojects/AwesomeProject/node_modules/react-native-sms-x/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js collides with Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js
This error is caused by a @providesModule declaration with the same name across two different files. Error: @providesModule naming collision: Duplicate module name: String.prototype.es6 Paths: Documents/reactprojects/AwesomeProject/node_modules/react-native-sms-x/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js collides with Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js
This error is caused by a @providesModule declaration with the same name across two different files. at HasteMap._updateHasteMap (/Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/node-haste/DependencyGraph/HasteMap.js:155:13) at module.getName.then.name (Documents/reactprojects/AwesomeProject/node_modules/react-native/packager/react-packager/src/node-haste/DependencyGraph/HasteMap.js:115:31) at
Any suggestions?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yeyintkoko/react-native-sms-x/issues/3#issuecomment-333426638, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ5oK2GpbufbPLfY6TM9pQzCIlhnrrf7ks5soEc3gaJpZM4OTuGA .
Which node_modules folder do I delete, is it the one within react-native-sms-x? (/reactprojects/AwesomeProject/node_modules/react-native-sms-x/node_modules
)
I have removed that one, then went to the root of the react project /reactprojects/AwesomeProject, and did npm install
, it does not resolve it. I get a list of duplicate items when I run the application again, it still gives me a long list of duplicate items.
just remove node_modules from this module "node_modules/react-native-sms-x/node_modules" if exists.
So I installed this package into my app and after it finished installing from npm and I start react-native packager I get the following errors without making the changes in the android folder. The problem persists even after making the changes in the android folder that were instructed from the readme. Here are the errors:
Do you know why this occurs?