Open StefanYohansson opened 7 years ago
I'm receiving errors when clone the project too:
error: unable to create file docs/api/v2.0.0/en/-unknown-module-.folktale.concurrency.future._executionstate.variants.0.prototype.cancelled.prototype.rejected.prototype.resolved.constructor.html (File name too long)
error: unable to create file docs/api/v2.0.0/en/-unknown-module-.folktale.concurrency.future._executionstate.variants.0.prototype.cancelled.prototype.rejected.prototype.resolved.hasinstance.html (File name too long)
error: unable to create file docs/api/v2.0.0/en/-unknown-module-.folktale.concurrency.future._executionstate.variants.0.prototype.cancelled.prototype.rejected.prototype.resolved.prototype.equals.html (File name too long)
error: unable to create file docs/api/v2.0.0/en/-unknown-module-.folktale.concurrency.future._executionstate.variants.0.prototype.cancelled.prototype.rejected.prototype.resolved.prototype.inspect.html (File name too long)
error: unable to create file docs/api/v2.0.0/en/-unknown-module-.folktale.concurrency.future._executionstate.variants.0.prototype.cancelled.prototype.rejected.prototype.resolved.prototype.isresolved.html (File name too long)
error: unable to create file docs/api/v2.0.0/en/-unknown-module-.folktale.concurrency.future._executionstate.variants.0.prototype.cancelled.prototype.rejected.prototype.resolved.prototype.matchwith.html (File name too long)
btw, I think it's useless to keep docs folder in node_modules, folktale can use .npmignore
to prevent download entire docs folder for every install.
example: https://github.com/StefanYohansson/react-video-preview/blob/master/.npmignore
Ah, we did use to not include the documentation in the npm package, but it includes the source and docs now so people can have access to the docs while offline. Fixing this properly involves fixing the documentation tool to generate more reasonable structures, so that's a bit difficult.
I'll try publishing a package without docs for now later today. It involves a bit more of work than just changing the .npmignore
file.
Thanks @robotlolita
Can you try installing folktale@2.0.1
and see if it works for you?
yay, it works! 😄 @robotlolita
Thanks. 💟
Trying to install
"folktale": "2.0.0"
and receiving ENAMETOOLONG.Steps to reproduce
added "folktale": "2.0.0" on package.json and run yarn install or run yarn add folktale, both fail.
Expected behaviour
Install the library
Observed behaviour
Environment
OS: Ubuntu 16.04 (Kde Neon) Node version: v8.2.1 npm: 5.3.0 yarn: v0.27.5 Folktale: 2.0.0