Comments (4)
It is difficult to solve the problem without further information.
- It looks like you are using quasar. Does the same error occur with a plain Capacitor project?
- Does the build work if you only use the other Capacitor plugins, without the NodeJS plugin?
- Are you using the latest Android Studio version and is your Gradle JVM configured to Java version 17?
from capacitor-nodejs.
It is difficult to solve the problem without further information.
Yes, i am using quasar, but its working fine with plain capacitor project but not with quasar capacitor project.
i am using latest android studio version already updated gradle 8.0.0 and java version 17.
but iam not able to execute
error - Unable to copy the Node.js project from APK.
from capacitor-nodejs.
my main purpose is, i want to use escpos plugin
https://www.npmjs.com/package/escpos
with capacitorjs.
from capacitor-nodejs.
The error message "Unable to copy the Node.js project from APK." indicates that your nodejs project folder is not included when bundling.
In your project structure, the nodejs project folder is located directly in the capacitor-src
folder, but usually it should be located in the the static
subfolder (in the case of quasar probably in capacitor-src/static
?) to ensure that your nodejs project is taken into account by the bundler.
See https://github.com/hampoelz/Capacitor-NodeJS#minimal-example
But since I've never used quasar, you may need to check if it handles the bundling of your project the same way as capacitor.
from capacitor-nodejs.
Related Issues (20)
- Could not run on device only in debug mode HOT 5
- node.js upgrade HOT 10
- Add TypeScript Declaration File for Bridge Package HOT 1
- Example Project HOT 8
- Allow manual startup of the node.js runtime and pass environment variables HOT 5
- Separate example projects in a new repo HOT 2
- npm install failed HOT 2
- Cannot find module 'bridge' on Android HOT 1
- Upgrade to CapacitorJS v5
- Rewrite the Bridge package in TypeScript
- Start the node.js runtime as child process on ElectronJS
- support for native node modules build HOT 5
- Did you rebase the main branch? HOT 1
- How does one use the new builtin bridge package from the node project? HOT 6
- Add a method to stop nodejs HOT 1
- How to use manual mode start? HOT 4
- iOS support? HOT 13
- How do I use this plugin in Quasar's capacitor. HOT 3
- Any way of debugging the nodejs code? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor-nodejs.