Package subpath './http' is not defined by "exports" in /workspace/node_modules/@sveltejs/app-utils/package.json
See original GitHub issueIt seems the latest version 1.0.0-next.1 changed the way it exports. It seems to be a problem with:
const {get_body: getBody} = require('@sveltejs/app-utils/http');
in handler.js
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Issues - GitHub
i18next-http-backend : Warning: Ignored package due to "Package subpath './package.json' is not defined by "exports"" ...
Read more >1 Answer - 1 - Stack Overflow
How to resolve Package subpath './package.json' is not defined by "exports" error · javascript · typescript · protractor · cucumberjs.
Read more >[err_package_path_not_exported]: package subpath './types ...
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in the package.json of a module in node_modules.
Read more >Packages | Node.js v18 API
When the "exports" field is defined, all subpaths of the package are encapsulated and no longer available to importers. For example, require('pkg/subpath.js') ...
Read more >r/node - Reddit
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /root/.../package.json.
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 FreeTop 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
Top GitHub Comments
When the node adapter moves it’s
latest
tag I will address this. https://www.npmjs.com/package/@sveltejs/adapter-nodeIn the meantime, please use
@sveltejs/kit@1.0.0-next.31
,.33
may work, but I have not tested it🎉 This issue has been resolved in version 0.3.3 🎉
The release is available on:
Your semantic-release bot 📦🚀