Analisando propostas

Angular18 y Capacitor

Publicado em 13 de Novembro de 2024 dias na TI e Programação

Sobre este projeto

Aberto

Tengo este error cuando genero un plugin con capacitor:  PS C:\xampp\htdocs\PWA_APP> ng build
Application bundle generation failed. [11.014 seconds]

X [ERROR] Could not resolve "fs"

    node_modules/plugin/lib/fs/node.js:1:25:
      1 │ module.exports = require('fs');
        ╵                          ~~~~

  The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.     


X [ERROR] Could not resolve "path"

    node_modules/plugin/lib/loaders/common/directory.js:1:19:
      1 │ var path = require("path"),
        ╵                    ~~~~~~

  The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.   


X [ERROR] Could not resolve "fs"

    node_modules/plugin/lib/loaders/common/directory.js:2:15:
      2 │  fs = require("fs"),
        ╵                ~~~~

  The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.     


X [ERROR] Could not resolve "path"

    node_modules/plugin/lib/loaders/node/js.js:1:19:
      1 │ var path = require("path"),
        ╵                    ~~~~~~

  The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.   


X [ERROR] Could not resolve "fs"

    node_modules/plugin/node_modules/resolve/index.js:1:17:
      1 │ var fs = require('fs');
        ╵                  ~~~~

  The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.     


X [ERROR] Could not resolve "path"

    node_modules/plugin/node_modules/resolve/index.js:2:19:
      2 │ var path = require('path');
        ╵                    ~~~~~~

  The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.   

Necesito comunicar mi componente de angular con mi plugin de capacitor y mi plugin con mi app android como por ejemplo hacer el uso de la camara para escanear código de barras  usando dependencia de google. Todo el proyecto tiene que funcionar para android sin el uso de ionic.
El trabajo esta un 97% hecho pero en algún punto algo no va. Si eres una persona que sabes bien de este tema, por favor contacta conmigo.

Categoria TI e Programação
Subcategoria Programação de Apps para Android, iOS e outros
Qual é o alcance do projeto? Bug ou alteração pequena
Isso é um projeto ou uma posição de trabalho? Um projeto
Disponibilidade requerida Conforme necessário
Plataformas exigidas Android
Tipo de aplicativo Outro
Precisa de back-end Não
Gateway de pagamento Sim

Prazo de Entrega: Não estabelecido

Habilidades necessárias

Outro projetos publicados por A. C. G.