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.

Missing "./dist/app/entry" export in "nuxt3" package

See original GitHub issue

Environment

Operating System: Windows 11 Node Version: v16.15.1 Nuxt Version:3.0.0-rc.6-27641313.416f98b Package Manager: yarn@1.22.19

Runtime Modules: - Build Modules: - pinia tailwindcss

Reproduction

I cant provide Reproduction this happens only windows

Describe the bug

Cant start the nuxt after rc-6 on windows os

Additional context

No response

Logs

ERROR  Missing "./dist/app/entry" export in "nuxt3" package                                                                              16:24:22

  at bail (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33603:8)
  at resolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33680:10)
  at resolveExports (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34417:12)
  at resolveDeepImport (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34435:31)
  at tryNodeResolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34160:20)
  at Context.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33897:32)
  at Object.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:35209:55)
  at async Context.resolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34974:23)
  at async Object.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:35209:32)
  at async ModuleGraph.resolveUrl (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:57784:26)


 WARN  [SSR] Error transforming D:/git/honeymoon/honeymoon-frontend/node_modules/nuxt/dist/app/entry: Missing "./dist/app/entry" export in "nuxt3" p
ackage

  at bail (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33603:8)
  at resolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33680:10)
  at resolveExports (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34417:12)
  at resolveDeepImport (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34435:31)
  at tryNodeResolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34160:20)
  at Context.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33897:32)
  at Object.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:35209:55)
  at async ModuleGraph.resolveUrl (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:57784:26)
  at async ModuleGraph.getModuleByUrl (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:57661:23)
  at async doTransform (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:39687:20)


 ERROR  Missing "./dist/app/entry" export in "nuxt3" package                                                                              16:24:22

  at bail (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33603:8)
  at resolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33680:10)
  at resolveExports (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34417:12)
  at resolveDeepImport (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34435:31)
  at tryNodeResolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34160:20)
  at Context.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:33897:32)
  at Object.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:35209:55)
  at async Context.resolve (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:34974:23)
  at async Object.resolveId (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:35209:32)
  at async ModuleGraph.resolveUrl (/D:/git/honeymoon/honeymoon-frontend/node_modules/vite/dist/node/chunks/dep-1513d487.js:57784:26)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:7
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
a-witkowskicommented, Jul 28, 2022

@danielroe, same for me in https://github.com/a-witkowski/nuxt-app

 ERROR  Missing "./dist/app/entry" export in "nuxt3" package                                                                                                                                                                                                                20:01:57

  at bail (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33604:8)
  at resolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33681:10)
  at resolveExports (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34422:12)
  at resolveDeepImport (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34440:31)
  at tryNodeResolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34161:20)
  at Context.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33898:32)
  at Object.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:35216:55)
  at async Context.resolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34981:23)
  at async Object.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:35216:32)
  at async ModuleGraph.resolveUrl (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:57822:26)


 ERROR  Missing "./dist/app/entry" export in "nuxt3" package                                                                                                                                                                                                                20:01:57  

  at bail (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33604:8)
  at resolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33681:10)
  at resolveExports (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34422:12)
  at resolveDeepImport (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34440:31)
  at tryNodeResolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34161:20)
  at Context.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33898:32)
  at Object.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:35216:55)
  at async Context.resolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34981:23)
  at async Object.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:35216:32)
  at async ModuleGraph.resolveUrl (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:57822:26)


 WARN  [SSR] Error transforming D:/projects/nuxt-app/node_modules/nuxt/dist/app/entry: Missing "./dist/app/entry" export in "nuxt3" package                                                                                                                                 20:01:58  

  at bail (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33604:8)
  at resolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33681:10)
  at resolveExports (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34422:12)
  at resolveDeepImport (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34440:31)
  at tryNodeResolve (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:34161:20)
  at Context.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:33898:32)
  at Object.resolveId (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:35216:55)
  at async ModuleGraph.resolveUrl (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:57822:26)
  at async ModuleGraph.getModuleByUrl (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:57699:23)
  at async doTransform (/D:/projects/nuxt-app/node_modules/vite/dist/node/chunks/dep-c6273c7a.js:39714:20)

√ Vite server built in 34ms                                                                                                                                                                                                                                                 20:01:58  
√ Nitro built in 510 ms                                                                                                                                                                                                                                               nitro 20:01:58  
[h3] [unhandled] H3Error: _createApp is not a function
    at createError (file:///D:/projects/nuxt-app/node_modules/h3/dist/index.mjs:191:15)
    at Server.nodeHandler (file:///D:/projects/nuxt-app/node_modules/h3/dist/index.mjs:381:21) {
  statusCode: 500,
  fatal: false,
  unhandled: true,
  statusMessage: 'Internal Server Error'
}
1reaction
ironytrcommented, Jul 27, 2022

Would you provide a reproduction? A minimal github repo would be perfect. 🙏

Hello danielroe, create just new project

npx nuxi init nuxt-app

yarn upgrade nuxt@npm:nuxt3@latest

nuxt@3.0.0-rc.6 doesnt give error if i want use newest of nuxt nuxt@npm:nuxt3@latest": version "3.0.0-rc.6-27648790.4e2667f gives error

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing preload-helper export in vite package when ...
Though when I want to build the app with npm run build I get this error: [vite:resolve] Missing "./preload-helper" export in "vite" package....
Read more >
Nuxt 3 Deploy Failed: Rollup failed to resolve import "vue"
I've been trying to deploy a Nuxt 3 app for the past few hours, but all attempts are failing. The app runs well...
Read more >
composables/ · Nuxt Directory Structure
Nuxt 3 uses the composables/ directory to automatically import your Vue composables into your application using ... Method 1: Using named export.
Read more >
This issue has been created since 2022-07-23.
Missing "./dist/app/entry" export in "nuxt3" package.
Read more >
Nuxt configuration file
export default { build: { /* ** You can extend webpack config here */ extend(config, ... app/ ---| node_modules/ ---| nuxt.config.js ---| package.json ......
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