react-nodegui-starter icon indicating copy to clipboard operation
react-nodegui-starter copied to clipboard

Symbol not found in flat namespace '__ZN10QArrayData11shared_nullE' for npm start

Open ukarde12 opened this issue 7 months ago • 0 comments

I am using Mac M3 sonoma

Below versions I tried Node : v22.14.0 Npm : 10.9.2 qmake : QMake version 3.1 Using Qt version 5.15.16 in /opt/homebrew/Cellar/qt@5/5.15.16/lib

This command works fine

npm run dev

While executing below command error is coming

npm start

Whole StackTrace


Error: dlopen(/Users/ukarde/Documents/Practice/SearchProject/react-nodegui-starter/dist/nodegui_core-f17a7e20e3bc9b0ef5e41350a30a75d1.node, 0x0001): symbol not found in flat namespace '__ZN10QArrayData11shared_nullE'
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1127:18)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object../node_modules/@nodegui/nodegui/build/Release/nodegui_core.node (/Users/ukarde/Documents/Practice/SearchProject/react-nodegui-starter/dist/index.js:25646:18)
    at __webpack_require__ (/Users/ukarde/Documents/Practice/SearchProject/react-nodegui-starter/dist/index.js:56478:33)
    at fn (/Users/ukarde/Documents/Practice/SearchProject/react-nodegui-starter/dist/index.js:56632:21)
    at Object../node_modules/@nodegui/nodegui/dist/lib/utils/addon.js (/Users/ukarde/Documents/Practice/SearchProject/react-nodegui-starter/dist/index.js:15814:15)
    at __webpack_require__ (/Users/ukarde/Documents/Practice/SearchProject/react-nodegui-starter/dist/index.js:56478:33)

On internet its showing version mistmatch between QT and NodeGui ... But could able to resolve it !!!!

Any help will be really appreciable ....

ukarde12 avatar Mar 15 '25 19:03 ukarde12