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

Issue with 'main' entry. #3

Closed
devzom opened this issue Jul 8, 2021 · 5 comments
Closed

Issue with 'main' entry. #3

devzom opened this issue Jul 8, 2021 · 5 comments

Comments

@devzom
Copy link

devzom commented Jul 8, 2021

I've just installed the plugin, it's already in devDependencies
added it to buildModules and specified the host

 Module nuxt-twa not found. Please ensure nuxt-twa is in devDependencies and installed. HINT: During build step, for npm/yarn, NODE_ENV=production or --production should NOT be used.


 FATAL  Cannot find module 'nuxt-twa'. Please verify that the package.json has a valid "main" entry

  at new MAIN_NOT_FOUND (node_modules/esm/esm.js:1:217685)
  at zo (node_modules/esm/esm.js:1:223524)
  at $o (node_modules/esm/esm.js:1:224571)
  at xu (node_modules/esm/esm.js:1:226413)
  at wu (node_modules/esm/esm.js:1:227391)
  at Eu (node_modules/esm/esm.js:1:227999)
  at Module.<anonymous> (node_modules/esm/esm.js:1:295976)
  at Resolver.n [as _require] (node_modules/esm/esm.js:1:279589)
  at Resolver.requireModule (node_modules/@nuxt/core/dist/core.js:615:31)
  at ModuleContainer.addModule (node_modules/@nuxt/core/dist/core.js:180:38)


   ╭─────────────────────────────────────────────────────╮
   │                                                     │
   │   ✖ Nuxt Fatal Error                                │
   │                                                     │
   │   Error: Cannot find module 'nuxt-twa'. Please      │
   │   verify that the package.json has a valid "main"   │
   │   entry                                             │
   │                                                     │
   ╰─────────────────────────────────────────────────────╯

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

what's wrong?

@tuarrep
Copy link
Owner

tuarrep commented Jul 8, 2021

I'll have a look

@tuarrep
Copy link
Owner

tuarrep commented Jul 8, 2021

I was wrongly released the package. It's now fixed in 0.1.4.

Thanks for reporting 🙏

@tuarrep tuarrep closed this as completed Jul 8, 2021
@devzom
Copy link
Author

devzom commented Jul 12, 2021

I was wrongly released the package. It's now fixed in 0.1.4.

Thanks for reporting 🙏

Great to hear, thanks :)
but don't see the 0.1.4 release :>

@tuarrep
Copy link
Owner

tuarrep commented Jul 12, 2021

I see it on npm 🤔

https://www.npmjs.com/package/nuxt-twa

@devzom
Copy link
Author

devzom commented Jul 12, 2021

I see it on npm 🤔

https://www.npmjs.com/package/nuxt-twa

okey, looked only here on GH and documentation 👍🏻 now it's in release
thanks!

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

2 participants