Results 416 comments of Caleb Cushing

Currently spring framework is using automatic modules. I flagged this because it doesn't appear to have any automatic module. At least not according to that report. To catch up you...

shouldn't be a "instead of" but "in addition to" checkstyle offers tons of functionality and checks that spotless doesn't.

I have the same problem ``` [2022-05-19 15:05:37.013] [INFO] Worker: Trying requireOrImport('ts-node/register') [2022-05-19 15:05:37.023] [INFO] Worker: Caught error Error: Cannot find module 'ts-node/register' Require stack: - /Users/nqy642/.vscode/extensions/hbenl.vscode-mocha-test-adapter-2.13.5/node_modules/mocha/lib/nodejs/esm-utils.js - /Users/nqy642/.vscode/extensions/hbenl.vscode-mocha-test-adapter-2.13.5/node_modules/mocha/lib/mocha.js -...

also ``` "mochaExplorer.ignore": ["**/node_modules/**","**/dist/**"], "mochaExplorer.watch": ["**/*.ts","package-lock.json"], "mochaExplorer.require": "ts-node/register", "mochaExplorer.files": "src/**/*.spec.ts", ```

sorry about the comment spam, work proxy blocks *edit* ``` Darwin 5c52309d33e3 20.6.0 Darwin Kernel Version 20.6.0: Tue Feb 22 21:10:41 PST 2022; root:xnu-7195.141.26~1/RELEASE_X86_64 x86_64 i386 MacBookPro16,1 Darwin 1.67.2 c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5...

``` e1-root@ /Users/nqy642/IdeaProjects/exceptionsone └─┬ [email protected] -> ./packages/validation ├── @types/[email protected] ├── @types/[email protected] ├── @types/[email protected] ├─┬ @types/[email protected] │ └── @types/[email protected] ├─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │...

yes, I set up the multi root workspace. I don't think that should be an issue.

no, because that's not how node_module resolution works. If you install the same version of mocha into all of your workspaces with npm workspaces each workspace will use the parent...

it only creates a version in your workspace if it needs to. Each workspace does not have it's own package-lock.json. this doesn't document that, but it's the workspace tool we're...

also might help to understand module resolution https://nodejs.org/api/modules.html#loading-from-node_modules-folders