Update module import and export to remove DEP0148 depreciation warning
See original GitHub issueWhen building the repo in node version 16 the following warning occurs:
babelHelpers: 'bundled' option was used by default. It is recommended to configure this option explicitly, read more here: https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers
(node:37395) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/charlottevermandel/MeiliSearch/meilisearch-js/node_modules/rollup-plugin-typescript2/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
The warning raises the Depreciation warning with the id DEP0148.
Sub-patterns should be used instead.
related #913
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Issues - GitHub
(node:29624) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at D:\js\project\web\ ...
Read more >Ask Question - Stack Overflow
Solution: Go to defined location C:\<xampp>\htdocs\<projName>\node_modules\tslib\package.json . At exports field - replace this "./": ".
Read more >Deprecated APIs | Node.js v19.3.0 Documentation
This means there will not be deprecation warnings for Buffer() usage in dependencies. ... The v8/* modules do not have any exports, and...
Read more >Resolve the "Export EXPORT_NAME cannot be updated as it ...
You get this error when one or more stacks are importing an exported output value from the stack that you want to update...
Read more >Migrating projects using file exports - GitLab Docs
In Import project from, select GitLab export. Enter your project name and URL. Then select the file you exported previously. Select Import project...
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

ok… so I have to install node version 16 too
Hello @Rishabhraghwendra18, I looked at the problem and it seems to come from
tsliblike you said. We cannot directly change its package.json. We need to wait for them to update theirs. A pr is already open in their repository to fix the problem. I’m sorry this means there is indeed nothing to fix in this repo. I’m closing the issue