Evaluating bids

Angular18 y Capacitor

Published on the November 13, 2024 in IT & Programming

About this project

Open

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.

Category IT & Programming
Subcategory Apps programming. Android, iOS and others
What is the scope of the project? Small change or bug
Is this a project or a position? Project
Required availability As needed
Required platforms Android
App type Other
Back-end is required No
Payment gateway Yes

Delivery term: Not specified

Skills needed

Other projects posted by A. C. G.