node-talib icon indicating copy to clipboard operation
node-talib copied to clipboard

Cannot import talib.node

Open digimbyte opened this issue 3 years ago • 2 comments

built it on windows, Talib/build/Release/talib exists but cannot import. import * as talib from 'talib/build/Release/talib';

Cannot find module 'D:\development\trade-trends\node_modules\talib\build\Release\talib' 
imported from D:\development\trade-trends\app.mjs
Did you mean to import talib/build/Release/talib.node?

image

I do not build my app as there is nothing to compile - suggestions? using Node v15.10.0

digimbyte avatar Mar 02 '21 06:03 digimbyte

same issue, any update?

danyinfo1 avatar Mar 28 '21 00:03 danyinfo1

Same here. It works with const talib = require('talib'); but import * as talib from 'talib'; (or anything not using require) fails. Why is this?

reynard80 avatar Nov 13 '21 13:11 reynard80

Newer style imports are not supported.

oransel avatar Dec 29 '22 00:12 oransel