godotjs / godotjs/javascript

Socket.io NPM

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
investigation
Dominant language
C++
Stars
1.1k
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Has anyone had any luck with getting socket.io-client npm functional with this? It seems that it does not read npm module entry properly for me.

```
E 0:03:17.602 resolve_module_file: Module entry does not exists: node_modules/socket.io-client/./lib/index.js
Condition "!FileAccess::exists(entry)" is true. Returned: ""
modules/ECMAScript/quickjs/quickjs_binder.cpp:631 @ resolve_module_file()
```

Contributor guide

Open the contributing guide

Research direction

Start at modules/ECMAScript/quickjs/quickjs_binder.cpp around resolve_module_file() line 631 and inspect how the node_modules/socket.io-client package entry is resolved. Reproduce the reported missing lib/index.js path and compare it with the package's actual entry; done means socket.io-client can be loaded without the module-entry error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.