Giter Site home page Giter Site logo

windows 8 error about node-iconv HOT 12 CLOSED

bnoordhuis avatar bnoordhuis commented on August 16, 2024
windows 8 error

from node-iconv.

Comments (12)

bnoordhuis avatar bnoordhuis commented on August 16, 2024

You installed node-iconv to C:\dev\node-iconv? What does the directory C:\dev\node-iconv\build contain?

from node-iconv.

baio avatar baio commented on August 16, 2024

Hi!
Actually i'm trying 2 ways. First install directly from npm as described above and second install via repository then compile with visual studio. Both ways have same result iconv compiled but always returns same error (as descibed above) when run. The trace from above is for installation via repository.


The exception thrown here -

var bindings;
try {
bindings = require('../build/Release/iconv.node');
}
catch (e) {
console.log(e);//log exception
try
{
bindings = require('../build/Debug/iconv.node');
}
catch(e)
{
console.log(e);//log exception
throw e;
}
}

"C:\Program Files\nodejs\node.exe" grab-abitur.js
[Error: The specified procedure could not be found.
]

module.js:485
process.dlopen(filename, module.exports);
^
Error: The specified procedure could not be found.

at Object.Module._extensions..node (module.js:485:11)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (C:\dev\node-iconv\lib\iconv.js:28:14)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Process finished with exit code 1

Also there was problem with node-gyp, I had to
copy C:\Users\maxpu_000.node-gyp\0.8.9\Release -> C:\Users\maxpu_000.node-gyp\0.8.9\Debug
in order to Debug version of Iconv compiled.


c:\dev>ls -R C:\dev\node-iconv\build

C:\dev\node-iconv\build:
Debug binding.opensdf binding.sln iconv.vcxproj
Release binding.sdf config.gypi iconv.vcxproj.filters

C:\dev\node-iconv\build/Debug:
iconv.ilk iconv.node iconv.pdb obj

C:\dev\node-iconv\build/Debug/obj:
iconv

C:\dev\node-iconv\build/Debug/obj/iconv:
CL.read.1.tlog iconv.obj link.command.1.tlog
CL.write.1.tlog link-cvtres.read.1.tlog link.read.1.tlog
cl.command.1.tlog link-cvtres.write.1.tlog link.write.1.tlog
iconv.lastbuildstate link-rc.read.1.tlog localcharset.obj
iconv.log link-rc.write.1.tlog vc110.pdb

C:\dev\node-iconv\build/Release:
iconv.node iconv.pdb obj

C:\dev\node-iconv\build/Release/obj:
iconv

C:\dev\node-iconv\build/Release/obj/iconv:
CL.3584.read.1.tlog cl.command.1.tlog link-rc.write.1.tlog
CL.3584.write.1.tlog iconv.lastbuildstate link.command.1.tlog
CL.692.read.1.tlog iconv.obj link.read.1.tlog
CL.692.write.1.tlog link-cvtres.read.1.tlog link.write.1.tlog
CL.read.1.tlog link-cvtres.write.1.tlog localcharset.obj
CL.write.1.tlog link-rc.read.1.tlog vc110.pdb

from node-iconv.

bnoordhuis avatar bnoordhuis commented on August 16, 2024

Error: The specified procedure could not be found.

It looks like it's not finding the iconv_module symbol in the DLL. I'm not sure what's up with that and I don't have the means to verify or replicate it, you'll have to investigate it yourself.

from node-iconv.

titarenko avatar titarenko commented on August 16, 2024

If it would help, I experienced this issue with upgrade from version 1.2.4 to 2.0.2.
P. S. OS is Windows 7 (64 bit).

from node-iconv.

fejustin avatar fejustin commented on August 16, 2024

See this error too.
Error: The specified procedure could not be found.

from node-iconv.

shimondoodkin avatar shimondoodkin commented on August 16, 2024

me too.

thanks @titarenko downgraded it to 1.2.4 and it worked

from node-iconv.

lcg635 avatar lcg635 commented on August 16, 2024

me too, OS is Windows XP 32bit

from node-iconv.

n-j-m avatar n-j-m commented on August 16, 2024

I get this error when baio's "Error: The specified procedure could not be found" error when using inbox

OS is Windows 7

from node-iconv.

wsvekla avatar wsvekla commented on August 16, 2024

Is this the same error you guys are seeing on Windows 7 64 bit:

C:\test>npm install -g iconv
npm http GET http://registry.npmjs.org/iconv
npm http 200 http://registry.npmjs.org/iconv

[email protected] install C:\Users\xxxxx\AppData\Roaming\npm\node_modules\ic
onv
node-gyp rebuild

C:\Users\xxxxx\AppData\Roaming\npm\node_modules\iconv>node "C:\Program F
iles\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\n
ode-gyp.js" rebuild
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere. [C:\Users\xxxxx\AppData\Roaming\npm\node_modul
es\iconv\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.e xe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:255:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\xxxxx\AppData\Roaming\npm\node_modules\iconv
gyp ERR! node -v v0.8.18
gyp ERR! node-gyp -v v0.8.2
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the iconv package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls iconv
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "iconv"
npm ERR! cwd C:\test
npm ERR! node -v v0.8.18
npm ERR! npm -v 1.2.2
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\test\npm-debug.log
npm ERR! not ok code 0

C:\test>

from node-iconv.

n-j-m avatar n-j-m commented on August 16, 2024

@wsvekla, it looks like you might need to install the .NET framework.

from node-iconv.

wsvekla avatar wsvekla commented on August 16, 2024

@BigOnLogn i have .NET framework 4 installed. i only cross paths with iconv via topojson which is dependent on iconv. however, when, with previous versions (i assume) i never ran into this issue, so perhaps it has to do with v2.x of iconv?

from node-iconv.

bnoordhuis avatar bnoordhuis commented on August 16, 2024

This should be fixed as of d5b2f15. v2.0.4 has been uploaded to npm.

from node-iconv.

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.