question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error - No "exports" main defined in /var/task/node_modules/devalue/package.json

See original GitHub issue

Found duplicate: https://github.com/sveltejs/kit/issues/6462

I get an error when trying to publish the latest sveltekit to netlify: Error - No "exports" main defined in /var/task/node_modules/devalue/package.json

My Sveltekit project package.json:

        "devDependencies": {
		"@sveltejs/adapter-auto": "^1.0.0-next.71",
		"@sveltejs/kit": "next",
		"prettier": "^2.6.2",
		"prettier-plugin-svelte": "^2.7.0",
		"svelte": "^3.44.0",
		"svelte-check": "^2.7.1",
		"typescript": "^4.7.4",
		"vite": "^3.1.0-beta.1"
	},

Found more information here: devalue import fails with adapter-node devalue cause crash on Netlify after update

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:12
  • Comments:5

github_iconTop GitHub Comments

3reactions
W4G1commented, Oct 26, 2022

Same issue here on devalue 4.0.1

0reactions
secondl1ghtcommented, Sep 13, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

"No Exports Main Defined In" Error Node.js - Stack Overflow
The package you refer to requires you to pick what it should use to render graphics. You can import: canvas-constructor/napi-rs or ...
Read more >
No "exports" main defined in package.json · Issue #4138 · ipfs ...
High - The main functionality of the application does not work, API breakage, repo format breakage, etc. Description: I've been trying to get...
Read more >
No "exports" main defined - Laracasts
Hello , After cloning my project I got the error bellow when I npm run watch (I deleted the node_modules) ERROR in ./resources/js/app.js...
Read more >
Modules: Packages | Node.js v19.3.0 Documentation
json file, two fields can define entry points for a package: "main" and "exports" . Both fields apply to both ES module and...
Read more >
No "exports" main resolved in [#3118274] | Drupal.org
node_modules/babel-loader/lib/index.js): Error. ... Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found