You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
There are my infomation as below when I ionic serve:
Does someone know how to solve those problems?
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
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: