Comments (9)
I use the following fix for now in the package on userspace.
package.json
"postinstall": "cd node_modules/wordpos && yarn postinstall"`
from wordpos.
However, we lose ~1s for each yarn interaction, not great
from wordpos.
Hmm.. ran into this too. After running your script seeing ENOENT: no such file or directory, scandir '/dict'
.
from wordpos.
Any movement on this? Still having this issue and yarn only seems to be growing in popularity. The postinstall
fix is a fine temp one, but is definitely a performance hit.
from wordpos.
I can't reproduce with latest yarn:
~/dev/tmp/wordpos-yarn-test$ yarn
yarn install v1.9.4
(node:81202) ExperimentalWarning: The fs.promises API is experimental
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
✨ Done in 5.50s.
~/dev/tmp/wordpos-yarn-test$ ls node_modules/wordnet-db/dict/
data.adj data.verb fast-index.noun.json index.adv index.verb
data.adv fast-index.adj.json fast-index.verb.json index.noun
data.noun fast-index.adv.json index.adj index.sense
Please try updating yarn
.
from wordpos.
@moos Did you run yarn twice?
from wordpos.
Yes -- I did. I was able to repro with earlier version of yarn, but not with latest.
from wordpos.
~~Can confirm that this is fixed in yarn>1.9.4. Thanks for checking this @moos
from wordpos.
Take it back. Just added a package and got a no such file or directory /node_modules/wordnet-db/dict/fast-index.noun.json'
. Adding back the post install line got me back up and running
from wordpos.
Related Issues (20)
- random word methods appear to be inaccurate HOT 1
- starstWith HOT 1
- throw error when rand HOT 1
- Error thrown when `rand().then(console.log)` HOT 4
- Postinstall fails HOT 8
- Local package.json exists, but node_modules missing, did you mean to install? HOT 1
- yarn v2 found a bug: line.substring is not a function
- incorrect results HOT 3
- ReferenceError: ES6_IMPORT is not defined HOT 2
- Suggestions for supporting other languages? HOT 2
- getNouns() is not accurate HOT 3
- Typescript support HOT 7
- how to get proper noun HOT 1
- Words like "get" or "take" are throwing errors HOT 1
- assigning the results to variable ? HOT 6
- lookup, Cannot read property 'toLowerCase' of undefined HOT 2
- Uncaught (in promise) ReferenceError: ES6_IMPORT is not defined HOT 1
- French version?
- Deno support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpos.