graphql-tools
graphql-tools copied to clipboard
DeprecationWarning: Use of deprecated double slash
trafficstars
Issue workflow progress
Progress of the issue based on the Contributor Workflow
- [ ] 1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox
Make sure to fork this template and run
yarn generatein the terminal.Please make sure the GraphQL Tools package versions under
package.jsonmatches yours. - [ ] 2. A failing test has been provided
- [ ] 3. A local solution has been provided
- [ ] 4. A pull request is pending review
Describe the bug
I got the following error with nuxt:
[DEP0166] DeprecationWarning: Use of deprecated double slash resolving "./esm//index.js.js" for module request ".//index.js" matched to "./*" in the "exports" field module resolution of the package at D:\Programming\JabRefOnline\node_modules\.pnpm\node_modules\cross-inspect\package.json
[DEP0166] DeprecationWarning: Use of deprecated double slash resolving "./esm//index.cjs.js" for module request ".//index.cjs" matched to "./*" in the "exports" field module resolution of the package at D:\Programming\JabRefOnline\node_modules\@graphql-tools\utils\package.json
(I think this is windows specific)
To Reproduce Steps to reproduce the behavior:
Use the packages mentioned above in a nuxt project and the warning is issued during the build.
Expected behavior
No error
Environment:
- OS: Windows
@graphql-tools/...: latest- NodeJS: latest
Additional context