You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i remove these lines app render without problems.
It's not memoryjs issue because i dont have problem to require it in normal js file and run it with node filename.js
Activity
Solant commentedon May 5, 2020
Sure, just like in any other nodejs or webpack app
dawidfreelancer commentedon May 5, 2020
But i got this error when i try
https://pasteboard.co/J70Fp6y.png
Solant commentedon May 5, 2020
you should run 2 npm scripts at the same time:
npm run startstarts actual qode instance, whilenpm run devstarts webpack bundle for your js codeso you need to run both
startanddevUPD: both scripts should be running, if you need to restart app, you can just restart only
npm run starttaskdawidfreelancer commentedon May 5, 2020
Yes i have started both. Dev server is working but shown error :
https://pasteboard.co/J70SV3F.png
and when i try
npm run startit cant starthttps://pasteboard.co/J70TCJr.png
It only happens when i ve my import lines in code
When i remove these lines app render without problems.
It's not
memoryjsissue because i dont have problem to require it in normal js file and run it withnode filename.jsSolant commentedon May 5, 2020
oh, I see now
memoryjshas some native code that is prebuilt for specific nodejs versionsome additional steps may be required in this case, https://docs.nodegui.org/docs/guides/using-native-node-modules
or you can try different lib without prebuilt native binaries
dawidfreelancer commentedon May 5, 2020
Ok cant setup it. Anyway thanks help.