bokuweb / re-bulma

[Deprecated] 💎Bulma components for React
http://bokuweb.github.io/re-bulma/
MIT License
364 stars 66 forks source link

package.json refers to lib/index.js but file not in repository #84

Closed MartinWillitts closed 7 years ago

MartinWillitts commented 7 years ago

Hello, I am trying to make use of the bokuweb main branch rather than my fork. I notice the package.json has "main": "lib/index.js", and that the file does not exist in the repository. I'm not familiar with node modules. Should it be there and if not then how is it built if it's even needed? (I'm finding my code cannot find re-bulma in the 'import' call.)

capaj commented 7 years ago

lib directory is not checked into git.

image

it's only uploaded onto npm. npm does indeed have lib and index.js inside it. If you're using webpack it might just be that your webpack config is wrong. Setting up webpack can be pretty hard even for a seasoned JS dev. If you post your directory tree, your webpack config and the error you're getting I might be able to advise you.

SInce this is not a bug, I am closing this but feel free to post more details here or on stackoverflow.