Skip to content
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

Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths. #152

Open
cangSDARM opened this issue Feb 9, 2022 · 1 comment

Comments

@cangSDARM
Copy link

cangSDARM commented Feb 9, 2022

error

WARNING in ./node_modules/iohook/index.js
Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.
Invalid dependencies may lead to broken watching and caching.
As best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.
Loaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).
Plugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).
Globs: They are not supported. Pass absolute path to the directory as context dependencies.
The following invalid values have been reported:

image

import

image

the dependence's source code

image

loader

image

output

image

@cangSDARM
Copy link
Author

Some related discussions: Zettlr/Zettlr#2029 (comment).
They found a workaround, but the PR is too long to read. And the source of the problem should still be this repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant