-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hi, I am trying to use node-sp-auth with nuxt/vite. I am fairly new to node, but it seems like node-sp-auth may be using older node methods that vite does not like. I have tried using vite alias to load the ts version and js version of node-sp-auth, but they give different errors-- for ts Module "util" has been externalized for browser compatibility. Cannot access "util.inherits" in client code. it is similar for the js file, but it is 'stream' / 'stream.Readable' respectively. Any ideas on how I can get past this?
To reproduce, start a new nuxt3 project npx nuxi init nuxt-app, install dependencies yarn install and add node-sp-auth yarn add node-sp-auth then start the server.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels