Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic 8 + Capacitor 6 + Vue 3 + TypeScript project, ionic serve appears one warning and one error when open in chrome browser in macbook pro with M1 chip #160

Open
akira32 opened this issue Sep 4, 2024 · 0 comments

Comments

@akira32
Copy link

akira32 commented Sep 4, 2024

I import the package:

npm install xmlrpc

And then use the lime to import to HomePage.vue.

import xmlrpc from 'xmlrpc';

There are my infomation as below when I ionic serve:
Does someone know how to solve those problems?

截圖 2024-09-04 晚上8 13 00
xmlrpc.js?v=eeb6d02a:2725 Module "stream" has been externalized for browser compatibility. Cannot access "stream.Stream" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ xmlrpc.js?v=eeb6d02a:2725
Show 1 more frame
Show lessUnderstand this warning
xmlrpc.js?v=eeb6d02a:4907 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
    at xmlrpc.js?v=eeb6d02a:4907:50
    at node_modules/xmlrpc/node_modules/sax/lib/sax.js (xmlrpc.js?v=eeb6d02a:6145:7)
    at __require (chunk-F3OQE4AZ.js?v=eeb6d02a:14:50)
    at node_modules/xmlrpc/lib/deserializer.js (xmlrpc.js?v=eeb6d02a:6152:15)
    at __require (chunk-F3OQE4AZ.js?v=eeb6d02a:14:50)
    at node_modules/xmlrpc/lib/client.js (xmlrpc.js?v=eeb6d02a:6516:24)
    at __require (chunk-F3OQE4AZ.js?v=eeb6d02a:14:50)
    at node_modules/xmlrpc/lib/xmlrpc.js (xmlrpc.js?v=eeb6d02a:6694:18)
    at __require (chunk-F3OQE4AZ.js?v=eeb6d02a:14:50)
    at xmlrpc.js?v=eeb6d02a:6715:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant