-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#74] Update Node #75
base: develop
Are you sure you want to change the base?
Conversation
@malparty Just throwing an idea here: you can try using |
@malparty There's two ways you can do this locally with npm-link
To unlink run npm-pack
|
@jtotty thanks a lot for your insights!! 🚀 I did a first try with Oops! Something went wrong! :(
ESLint: 8.57.0
Error: Cannot read config file: /Users/xavier/Documents/Source/eslint-config-nimble/packages/eslint-config-nimble-react/lib/rules/base.js
Error: Cannot find module '@nimblehq/eslint-config-nimble-core'
Require stack:
- /Users/xavier/Documents/Source/eslint-config-nimble/packages/eslint-config-nimble-react/lib/rules/base.js
- /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs
- /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint/lib/cli-engine/cli-engine.js
- /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint/lib/eslint/eslint.js
- /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint/lib/eslint/index.js
- /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint/lib/cli.js
- /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint/bin/eslint.js So it's tuff! I was able to fix these imports by adding
Now it's pointing at [Info - 5:52:40 PM] ESLint server is starting.
[Info - 5:52:40 PM] ESLint server running in node v20.16.0
[Info - 5:52:40 PM] ESLint server is running.
[Info - 5:52:40 PM] ESLint library loaded from: /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint/lib/api.js
[Error - 5:52:40 PM] Calculating config file for file:///Users/xavier/Documents/Source/jfc-global-templates-web/package-lock.json) failed.
Error: Failed to load config "prettier" to extend from.
Referenced from: /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js
at configInvalidError (/Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2648:9)
at ConfigArrayFactory._loadExtendedShareableConfig (/Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3279:23)
at ConfigArrayFactory._loadExtends (/Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3156:25)
at ConfigArrayFactory._normalizeObjectConfigDataBody (/Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3095:25)
at _normalizeObjectConfigDataBody.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigData (/Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20)
at _normalizeObjectConfigData.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigDataBody (/Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3095:25)
at _normalizeObjectConfigDataBody.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigData (/Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3040:20)
[Error - 5:52:40 PM] Request textDocument/diagnostic failed.
Message: Request textDocument/diagnostic failed with message: Failed to load config "prettier" to extend from.
Referenced from: /Users/xavier/Documents/Source/jfc-global-templates-web/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js
Code: -32603
|
What happened 👀
Insight 📝
I'm not sure how to "test" these versions on my project, without publishing the npm package first... So if you know, let me know so I can test before we merge :harold:
Proof Of Work 📹