Hi,
npm install does not work with v1.0.0-beta-2
I think the current version is beta-1
npm install [email protected] worked for me
beta-2 is not on NPM yet. You can point package.json at react-quill: zenoamaro/[email protected] if you want, but unless you are affected by the bugs that have recently been fixed, you can wait for the NPM module to be updated.
cc @zenoamaro
Due to your .npmignore I can't install from github (the directory will be ready)
Oh, you can point it at the tarball I uploaded though.
On Wed, Mar 1, 2017, 2:41 AM Leo Iannacone notifications@github.com wrote:
Due to your .npmignore I can't install from github (the directory will be
ready)—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/zenoamaro/react-quill/issues/166#issuecomment-283306096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABf7U54oRjKGWKWvtPSRnMCXVJZeegzwks5rhUtCgaJpZM4MOsIL
.
npm install https://github.com/zenoamaro/react-quill/releases/download/v1.0.0-beta-2/react-quill-v1.0.0-beta-2.tgz
````
```json
{
"react-quill": "https://github.com/zenoamaro/react-quill/releases/download/v1.0.0-beta-2/react-quill-v1.0.0-beta-2.tgz"
}
@alexkrolick The tarballs for beta-2 and beta-3 have empty dist folders (at least as far as I can see on OSX)
Without at least beta-2, Quill isn't exposed and the examples for custom formats don't work at the moment.
The error when installing from tar:
> npm install https://github.com/zenoamaro/react-quill/releases/download/v1.0.0-beta-2/react-quill-v1.0.0-beta-2.tgz
npm ERR! tar.unpack untar error /var/folders/9v/b9tfdnx93hd62q4_6k_yg5x00000gn/T/npm-6895-0af5a01d/github.com/zenoamaro/react-quill/releases/download/v1.0.0-beta-2/react-quill-v1.0.0-beta-2.tgz
npm ERR! tar.unpack untar error /var/folders/9v/b9tfdnx93hd62q4_6k_yg5x00000gn/T/npm-6895-0af5a01d/github.com/zenoamaro/react-quill/releases/download/v1.0.0-beta-2/react-quill-v1.0.0-beta-2.tgz
npm ERR! tar.unpack untar error /var/folders/9v/b9tfdnx93hd62q4_6k_yg5x00000gn/T/npm-6895-0af5a01d/github.com/zenoamaro/react-quill/releases/download/v1.0.0-beta-2/react-quill-v1.0.0-beta-2.tgz
npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/yacine/.nvm/versions/node/v6.9.5/bin/node" "/Users/yacine/.nvm/versions/node/v6.9.5/bin/npm" "install" "https://github.com/zenoamaro/react-quill/releases/download/v1.0.0-beta-2/react-quill-v1.0.0-beta-2.tgz"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! invalid tar file
Thanks for reporting. Looks like a Yarn bug: https://github.com/yarnpkg/yarn/issues/2851/
Fell back to npm pack and uploaded a new one for beta-3. https://github.com/zenoamaro/react-quill/releases/tag/v1.0.0-beta-3
Worked like a charm. Thanks for the quick fix!
Ooh, I thought we had it , but I now get a module not found (which I think is because the entry file src/index.js is missing due to /src being in .npmignore and files: [...] missing 'src/' in package.json)
Module not found: Error: Cannot resolve module 'react-quill'
Does it work if you change the entry in package.json in your node_modules/react-quill to "main": "dist/react-quill.min.js"
If so I'll push that
Yes, that works. Everything is loading properly including the Quill export and the styles.
OK, updated the release and tag.
New tar ball is working properly now, I cleaned up and reinstalled from scratch and re-tested:
rm -rf node_modules && npm cache clean && npm install
The betas should now be available on NPM!