Unknown named module: './submit-analytics' when debugging with vs code
See original GitHub issueNot sure whether this is a VS code issue or a realm issue. When I debug my app using VS code, I get the following error. I see that all the other modules under node_modules/realm/lib are loaded properly but not submit-analytics.js. Let me know if you need more details.
Unknown named module: './submit-analytics'
_require
require.js:93:12
nodeRequire
index.js:23:11
<unknown>
index.js:70:8
loadModuleImplementation
require.js:171:4
guardedLoadModule
require.js:123:11
_require
require.js:107:6
<unknown>
db.js:1
loadModuleImplementation
require.js:171:4
guardedLoadModule
require.js:123:11
_require
require.js:107:6
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Actual Behavior - GitHub
React-Native VS Code extension version: 6.7.46; VSCode version: 1.37.1 ... worker loaded runtime on port 13277 Unknown named module: "../.
Read more >Debugging in Visual Studio Code
In order to start a debug session, first select the configuration named Launch Program using the Configuration dropdown in the Run and Debug...
Read more >vscode import error for python module - Stack Overflow
I tried to add this in my launch.json , then it works! "env": {"PYTHONPATH": "${workspaceRoot}"}. below is my launch.json "name": "Python: ...
Read more >Configuring Visual Studio Code | Editors and IDEs - Drupal
vscode -intelephense-client): provides support for PHP code completion and intellisense that supports any PHP file extension (module, inc, etc...) ...
Read more >Can't get VSCode to work properly with Unity
This issue is that Unity Editor expects the file used to launch VSCode to have a specific name. It seems that unity will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the error in realm/lib/index.js as about line 21 “function getContext()” The function returned “nodejs”. but not “reactnative”
i just tried debugging today on VSCode 1.11.1 and it crashed with this error too. bummer. any eta on a fix ?