-
Notifications
You must be signed in to change notification settings - Fork 965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: New local plugin doesn't compile #5436
Comments
I'm realizing that the error involves ../node_modules which is the node_modules of the parent app. Upon creating a blank capacitor app with a local plugin, the issue doesn't occur. I will keep looking to see why it is happening on my app and not a new one. |
@Cyral I've got the exact some issue. Any luck? |
@simonwalsh Add |
Ah! Thanks @Cyral you just saved my ass 馃槃 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
Capacitor Version
馃拪 Capacitor Doctor 馃拪
Latest Dependencies:
@capacitor/cli: 3.4.1
@capacitor/core: 3.4.1
@capacitor/android: 3.4.1
@capacitor/ios: 3.4.1
Installed Dependencies:
@capacitor/cli: 3.4.1
@capacitor/core: 3.4.1
@capacitor/android: 3.4.1
@capacitor/ios: 3.4.1
Platform(s)
N/A
Current Behavior
Newly created plugin should compile with
npm run build
Expected Behavior
Compilation fails:
Code Reproduction
Create a new plugin with
npm init @capacitor/plugin
, then runnpm run build
Other Technical Details
NPM Version: 8.3.1
Node Version: v16.14.0
Tested on Mac
The text was updated successfully, but these errors were encountered: