Git Product home page Git Product logo

Comments (11)

michael-hertzberg-zocdoc avatar michael-hertzberg-zocdoc commented on May 24, 2024

@pcaleja hi phillip :) taking a look now.

from iso3166-1.

pcaleja avatar pcaleja commented on May 24, 2024

@michael-hertzberg-zocdoc

Thanks! :)

from iso3166-1.

moimikey avatar moimikey commented on May 24, 2024

@pcaleja could you try pulling down version v0.2.6 and see if that fixes the problem?

from iso3166-1.

pcaleja avatar pcaleja commented on May 24, 2024

@michael-hertzberg-zocdoc getting this error when I build, could be cause of my build task though.

Error: Cannot find module './zlib' from '/Users/philip/Documents/Websites/sk-marketing/node_modules/iso3166-1/lib'

from iso3166-1.

moimikey avatar moimikey commented on May 24, 2024

@pcaleja eep! pull 0.2.7 :)...

from iso3166-1.

pcaleja avatar pcaleja commented on May 24, 2024

@michael-hertzberg-zocdoc

It still persists. I noticed buffer updated this function. Not sure if it will help though.

function fromString(string, encoding) {
  if (typeof encoding !== 'string' || encoding === '')
    encoding = 'utf8';

  if (!Buffer.isEncoding(encoding))
    throw new TypeError('"encoding" must be a valid string encoding');

  var length = byteLength(string, encoding);

  if (length === 0)
    return Buffer.alloc(0);

  if (length >= (Buffer.poolSize >>> 1))
    return binding.createFromString(string, encoding);

  if (length > (poolSize - poolOffset))
    createPool();
  var actual = allocPool.write(string, poolOffset, encoding);
  var b = allocPool.slice(poolOffset, poolOffset + actual);
  poolOffset += actual;
  alignPool();
  return b;
}

Also it seems like zlib-browserify is now being searched outside of the module's node_module directory.

Error: Cannot find module 'zlib-browserify' from '/Users/philip/Documents/Websites/sk-marketing/node_modules/iso3166-1/src'

from iso3166-1.

moimikey avatar moimikey commented on May 24, 2024

@pcaleja lets try again >.< -- v0.2.8

after that, then i'll need to get back to you :(...

from iso3166-1.

pcaleja avatar pcaleja commented on May 24, 2024

@moimikey

Still persists :(.. It's not urgent since, I'll disable this for now in IE but it would be great to have a fix. Let me know if it's something on my side as well. Thanks again!

from iso3166-1.

moimikey avatar moimikey commented on May 24, 2024

i still want to revisit this... ie11 hell.

from iso3166-1.

pcaleja avatar pcaleja commented on May 24, 2024

@moimikey last time I looked at it, the issue seems to be coming from buffer and I think node's newer version should fix these issues but I'm not 100% sure.

from iso3166-1.

moimikey avatar moimikey commented on May 24, 2024

fixed in latest version

from iso3166-1.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.