Giter Site home page Giter Site logo

Comments (13)

kurohoan avatar kurohoan commented on August 11, 2024

I don't require node:buffer, up to version 2.0.5, I don't get any errors, is it an environmental issue?

from proxy-chain.

n0paleon avatar n0paleon commented on August 11, 2024

try apt install node-buffer, this is work for me

from proxy-chain.

primaltalk avatar primaltalk commented on August 11, 2024

What version of nodejs are you on? I had to upgrade.

from proxy-chain.

kurohoan avatar kurohoan commented on August 11, 2024

i tried

npm i node-buffer

The error did not change.

from proxy-chain.

kurohoan avatar kurohoan commented on August 11, 2024

What version of nodejs are you on? I had to upgrade.

node.js version is 14.17.6

Is it a version that is not supported?

from proxy-chain.

szmarczak avatar szmarczak commented on August 11, 2024

Node protocol imports are supported since v14.18.0

from proxy-chain.

B4nan avatar B4nan commented on August 11, 2024

Node protocol imports are supported since v14.18.0

I was hoping TS will downlevel this for us - we specify support for node v14, not node v14.18+. Probably better to remove the node: prefixed imports for now.

from proxy-chain.

n0paleon avatar n0paleon commented on August 11, 2024

i tried

npm i node-buffer

The error did not change.

on linux, try this command
apt-get install node-buffer, this is will be fix the main problem here

from proxy-chain.

B4nan avatar B4nan commented on August 11, 2024

None of the suggestions will fix this, the import is for the node.js native module, not for any third party dependency like node-buffer, nor any linux package. The problem is purely about old nodejs versions that do not support node: prefixed imports.

from proxy-chain.

kurohoan avatar kurohoan commented on August 11, 2024

The node.js version was changed to 16.18.0, but the error did not improve.
Node.js was installed with nodebrew.

from proxy-chain.

kurohoan avatar kurohoan commented on August 11, 2024

I am using this module via electron. Does this have anything to do with the symptoms not improving?

from proxy-chain.

szmarczak avatar szmarczak commented on August 11, 2024

Fixed in v2.1.1

from proxy-chain.

kurohoan avatar kurohoan commented on August 11, 2024

Thank you for your correspondence.

from proxy-chain.

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.