Giter Site home page Giter Site logo

Comments (9)

indutny avatar indutny commented on July 17, 2024 1

Sorry about that. Node.js 6 was released 3 years ago so I thought it was time to drop support for it. Perhaps, a better call would have been to publish this as a major version update of the library. Thus, I've just published 1.1.7 which contains a partial revert for the changes that I made in 1.1.6, and it should hopefully work on Node.js 6.

Let me know if it fixes it for you!

from node-ip.

adamschofield-nib avatar adamschofield-nib commented on July 17, 2024

Also began having this issue with Node 6.9.1 and 6.17.0 builds since the 1.1.6 release.

from node-ip.

qburst-shanavas avatar qburst-shanavas commented on July 17, 2024

@indutny could you please check?

from node-ip.

neeths92 avatar neeths92 commented on July 17, 2024

Facing same issue.
const numberOfAddresses = 2 ** (32 - maskLength);
^
SyntaxError: Unexpected token *
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)

from node-ip.

wparam avatar wparam commented on July 17, 2024

Facing same issue here.

from node-ip.

rajeev-source-code avatar rajeev-source-code commented on July 17, 2024

My production build is failing because of this error. Its so hard to find which of the library is using this supporting lib.

from node-ip.

fengmk2 avatar fengmk2 commented on July 17, 2024

@indutny Still not work in node v6

node/v6.16.0/lib/node_modules/foo/node_modules/ip/lib/ip.js:204
var numberOfAddresses = 2 ** (32 - maskLength);
^
SyntaxError: Unexpected token *
at createScript (vm.js:56:10)

from node-ip.

indutny avatar indutny commented on July 17, 2024

Oops. Missed that! Should be fixed by 8e6f28b. Thanks!

from node-ip.

neeths92 avatar neeths92 commented on July 17, 2024

Oops. Missed that! Should be fixed by 8e6f28b. Thanks!

Its working now. Thank you.

from node-ip.

Related Issues (20)

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.