Comments (12)
You installed node-iconv to C:\dev\node-iconv? What does the directory C:\dev\node-iconv\build contain?
from node-iconv.
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.
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.
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.
See this error too.
Error: The specified procedure could not be found.
from node-iconv.
me too.
thanks @titarenko downgraded it to 1.2.4 and it worked
from node-iconv.
me too, OS is Windows XP 32bit
from node-iconv.
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.
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.
@wsvekla, it looks like you might need to install the .NET framework.
from node-iconv.
@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.
This should be fixed as of d5b2f15. v2.0.4 has been uploaded to npm.
from node-iconv.
Related Issues (20)
- npm install sqlite3 HOT 1
- cannot open shared object file HOT 2
- What about CHANGELOG.md HOT 5
- utf-8 to iso-8859-1 error no conversion HOT 2
- Fails to install on windows machine HOT 3
- Unable to install
- Unable to install HOT 3
- iconv cannot be used in worker threads HOT 5
- how to change "νκΈ" to euc-kr ? HOT 1
- Can't resolve ~~ error while developing an Electron app HOT 1
- Memory leak when used with byline? HOT 2
- Upgrade node-gyp to remove python2 dependency HOT 1
- Can't convert string from ISO-8859-1 to windows-1251 HOT 3
- Encodings not supported HOT 2
- Any barriers to IBM500, 037 ? HOT 1
- not doing proper encoding HOT 5
- npm ERR! HOT 1
- WSL npm install iconv failing HOT 3
- will it work with nodejs 20? HOT 1
- NV21 failure? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-iconv.