neutralinojs / neutralino.js

JavaScript API for Neutralinojs
https://neutralino.js.org/docs/api/overview
MIT License
237 stars 47 forks source link

build not working on mac #88

Open monsterkodi opened 7 months ago

monsterkodi commented 7 months ago

building the javascript dependencies doesn't work out of the box on mac.

it seems to me that the typescript rollup plugin doesn't like something in the init.ts file. when i try to run npm run build a second time, the error changes to something else, but still in the typescript rollup plugin.

i will attach the output of me trying to build a fresh repository clone, in case it might help:

buildfail.txt

Kanai2003 commented 7 months ago

Hello, I'm trying to figure it out. Let's see what is happening.

Kanai2003 commented 7 months ago

Main cause of this issue is :

Circular dependency: src/ws/websocket.ts -> src/api/extensions.ts -> src/ws/websocket.ts

@jouni-kantola I'm getting this point that there is a circular dependency between src/ws/websocket.ts and src/api/extensions.ts

I want to try to fix this issue.

jouni-kantola commented 7 months ago

@Kanai2003 I think you likely tagged the wrong person.