Jacse / react-native-app-intro-slider

Simple and configurable app introduction slider for react native
MIT License
1.66k stars 330 forks source link

dist/index.js missing #183

Closed RauanBPK closed 4 years ago

RauanBPK commented 4 years ago

/node_modules/react-native-app-intro-slider/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved..

indeed, no dist/index.js

image

Luis-Kendelick commented 4 years ago

Man, have you tried to change the reference name in the package.json file? Cause in the .json has a ".js" reference instead the ".d.ts".

thubamamba commented 4 years ago

Once you change the file index file type to .js, you get this error:

Screenshot 2020-04-15 at 21 34 33
devamiya commented 4 years ago

Same issue....is anyone previously used this

Jacse commented 4 years ago

It looks like I somehow forgot to build the index.js-file before publishing to npm, really sorry! I've updated the scripts so that won't be possible in the future. Please try with the latest version on npm.

thubamamba commented 4 years ago

Thank you so much @Jacse , it works perfectly.