tierrun / tier-vercel-openai

This project generates marketing content using OpenAI, implements metered pricing model, checks for feature access based on their current subscription, reports usage of a feature, manages subscription and more using Tier.
https://tier-vercel-openai.vercel.app
MIT License
339 stars 50 forks source link

Node Console warning: Parsing of get-client.js for build dependencies failed at 'import(child_process)' #19

Open aleskozelsky opened 11 months ago

aleskozelsky commented 11 months ago

Describe the bug Console error on server when tier:GET

tier: GET https://api.tier.run/v1/limits?org=org{org-string-here}
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of C:\wamp64\www\folder\projectname-tier2\node_modules\tier\dist\mjs\get-client.js for build dependencies failed at 
'import(child_process)'.
<w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.

To Reproduce Steps to reproduce the behavior:

Follow this tutorial, sign in and try to generate.

Expected behavior No console log warnings

Desktop (please complete the following information):