GithubHelp home page GithubHelp logo

tuarrep / nuxt-twa Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 1.0 1.65 MB

Nuxt.js module for generating Trusted Web Activity from Nuxt.js app

Home Page: https://nuxt-twa.tuarrep.dev

License: MIT License

JavaScript 4.87% Vue 0.55% TypeScript 94.58%

nuxt-twa's People

Contributors

andreban avatar tuarrep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

limchunhaur

nuxt-twa's Issues

Issue with 'main' entry.

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?

Set a `twaManifest.generatorApp` to `nuxt-twa`

This information is useful when developer have issue with their application and we can use that get details on how it's been generated. This can be added my including the code segment below here:

twaManifest.generatorApp = 'nuxt-twa';

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.