I'm using this code to import your library:
import Tagify from '@yaireo/tagify';
This worked fine, but I've just updated from 3.6.3 to 3.6.6 and I'm getting this build error using webpack:
Module not found: Error: Can't resolve '@yaireo/tagify' in 'myfile.js
I've reverted back to 3.6.3 for now, but I'd like to stay current. Any ideas how to solve this?
Try now with 3.6.7
I accidentally hit npm publish on the last push while the dist folder was removed by some previous test I've made and this never happened so I didn't think to check if it exist or not before publishing. what a huge mistake.
Hi!
I'm having similar issues with 3.6.7:
Module not found: Error: Can't resolve '@yaireo/tagify/dist/react.tagify'
Module not found: Error: Can't resolve '@yaireo/tagify/dist/tagify.css'
Using latest version of tagify (3.6.7):
$ grep tagify package.json
"@yaireo/tagify": "^3.6.7",
Dist folder still not included:
$ ls node_modules/@yaireo/tagify/
LICENSE package.json README.md src
I still have the same problem with 3.6.7.
A temporary workaround is to install this package from github:
$ grep tagify package.json
"@yaireo/tagify": "github:yaireo/tagify",
Here now it's back for sure, please install 3.6.8
So sorry guys for all this!
I apparently I've experimented for a prepublish package.json script which removed the ./dist folder right when I was publishing, so when I pushed it to github it existed, and I always push to Github before publishing.
These days are pretty crazy :)
Never the less, I work hard on Tagify to bring the best Tags component to the masses, without bullshit, bloated or bad-quality code, but only the best that I can do with my long very years JS/DOM coding experience, making constant improvements and trying to address each and every issue opened, daily.
Be sure to regularly update your Tagify because it's constantly getting improvements, big and small.
Thanks for the fast response!
Another question, with the last version I'm getting:
├── @yaireo/[email protected]
├── UNMET PEER DEPENDENCY react@^16.12.0
└── UNMET PEER DEPENDENCY react-dom@^16.12.0
It seems that you pinned the react dependency to an older version? (I'm using 16.13.1)
@quimey - Right. damnit. I will just change it to * and be done with it.
don't think hardly anyone uses old versions anyway, so * should work for 99%
The dist folder is back with 3.6.8, but I don't see the react.tagify file there (although it is present in the src folder).
Module not found: Error: Can't resolve '@yaireo/tagify/dist/react.tagify'
$ ls node_modules/@yaireo/tagify/dist/
jQuery.tagify.min.js tagify.css tagify.min.js tagify.polyfills.min.js
Any suggestion?
Yeah, another npm update to 3.6.10 :)
I just woke up now to all this here
Thank you for the quick fixes. 3.6.10 works fine here.
Same here, thanks!