"goto module" not working for deep link into node_module
See original GitHub issueI have a line import withGlobal from 'mocha-wrap/withGlobal';
. This is withGlobal.js
inside node_modules/mocha-wrap
.
However, in 0.7.4 in sublime, when I “goto module”, it takes me to an empty file in “$PROJECT_ROOT/mocha-wrap/withGlobal”. I suspect the fix to #273 may have broken this use case?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >yarn link does not install package dependencies #2914 - GitHub
command should show that library has a node_modules directory with lodash installed into it. npm seems to run install on every linked package....
Read more >Why isn't the npm link command working? | Benjamin W Fox
Run npm link ../my-package in the my-project directory. Under the Hood. Running npm link creates a symlink (or 'symbolic link') from your global ......
Read more >Node module deep-dive - DEV Community
I wanna start by looking at the module module (try saying that three times fast!). The modules page of the NodeJS docs contains...
Read more >A Guide to Managing Webpack Dependencies - Toptal
The Webpack module bundler processes JavaScript code and all static assets ... concatenation into one bundle is not a good approach because loading...
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 Free
Top 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
@ljharb: since @lencioni published a new version, all you have to do is to
npm install -g import-js
. No need to update the Sublime plugin.I filed a separate bug for the issue with linked dependencies: https://github.com/Galooshi/import-js/issues/279
I was able to reproduce the open file issue now, and I pushed a fix in daefb04318b4e. Thanks for your patience.