-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module 'unicode/category/So' #58
Comments
Hmmm, I get this on my Mac as well. |
I just did |
After ll node_modules/unicode/category/
total 28
drwxr-xr-x 2 parmentf utilisa. du domaine 4096 mars 3 17:27 ./
drwxr-xr-x 4 parmentf utilisa. du domaine 4096 mars 3 17:27 ../
-rw-r--r-- 1 parmentf utilisa. du domaine 210 mars 3 17:27 font-family: Tahoma, Roya, sans-serif.js
-rw-r--r-- 1 parmentf utilisa. du domaine 89 nov. 19 2013 README
-rw-r--r-- 1 parmentf utilisa. du domaine 8242 mars 3 17:27 undefined.js |
I meet the same problem on Cent OS 7 / node 5.6.0 / npm 3.6.0
|
@haishanh run it in node_modules/slug. It's dirty, but it does the trick. |
I'm getting this error too, on my Debian 8.2 box. Didn't get it when running locally on my Mac. Used |
Could this have something to do with this: # debian
sudo apt-get install unicode-data # optional
# gentoo
sudo emerge unicode-data # optional
npm install unicode
|
@parmentf |
There is a pending PR which will resolve this - dodo/node-unicodetable#22 |
If you are facing this issue and you are behind windows please follow below steps, i hope worked for you :
|
I'm still facing this issue while deploying my app to heroku. None of the above proposed quick fixes is working ... Any idea? |
Running into this on circleci, I assume because circle installs from behind a proxy: https://discuss.circleci.com/t/node-cannot-find-module-unicode-category-so/8990 I tried the options from the install section https://github.com/dodo/node-unicodetable#install:
Hoping this PR lands, which should resolve this issue entirely dodo/node-unicodetable#22 |
@antoinedejonckheere trying setting the env variable |
@dylanjha amazing, it worked. My interpretation then is that for one deployment, the install was unsuccessful. Next installations were then using the cached version of the package (which was failing), correct? |
@antoinedejonckheere I thought that at first too, but I don't think that is it. If you re-enable the cache it will fail again. To be honest, I don't have an explanation, maybe someone else can chime in if they know. |
@antoinedejonckheere also, if converting unicode isn't important to you, check out this module, which doesn't rely on |
@dylanjha thanks, moving to another package was indeed what I decided to do :) thanks again for your kind help |
Cannot find module 'unicode/category/So'
it craps out on the
const slug = require('slug')
statement. it works fine on mac. but debian and ubuntu both throw this errorheres the full error:
The text was updated successfully, but these errors were encountered: