Code Monkey home page Code Monkey logo

migrate-capacitor-plugin's Introduction

Migrate Capacitor Plugin

Migrate a Capacitor 5 plugin to Capacitor 6.

Usage

npx @capacitor/plugin-migration-v5-to-v6@latest

migrate-capacitor-plugin's People

Contributors

jcesarmobile avatar

Stargazers

Den Galkin avatar jonz94 avatar Forgr avatar  avatar

Watchers

Ken Sodemann avatar  avatar

migrate-capacitor-plugin's Issues

Error: spawn npm ENOENT

While executing this in the plugin folder e.g. node_modules@capacitor-community\fcm it correctly updates the @capacitor dependencies of the plugins package.json file to "^5.0.0". But then it stops with:

Error: spawn npm ENOENT

I guess this is the reason it also doesn't e.g. update the build.gradle file to put the namespace parameter from the manifest file in it:

android { namespace "com.getcapacitor.community.fcm.fcm"

Or it doesn't place this for Android API 33 notifications mandatory permission in the manifest file (if not the plugin author of @capacitor-community\fcm or rather the one of @capacitor/push-notifications should update that in the first place):
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>

As I've read (https://stackoverflow.com/a/27688805/11890464) this could be related to how the subprocess is spawned in migrate-capacitor-plugin/src/subprocess.ts.

Or it has something to do with how my system (windows) is setup?
node: 20.1.0 / npm: 9.6.4 (via nvm)

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.