Running Ionic build Ios on macOS with Node 7 I get a message 'stdout maxBuffer exceeded'. How to resolve?

Asked

Viewed 16 times

-1

Suddenly I started having this problem when I try to build my app with ionic build ios . I don’t understand what might have happened because it was running normal one day, but the next day it presented this error:

...
...
Running command: HC-Ionic/hooks/after_prepare/010_add_platform_class.js HC-Ionic

Running command: HC-Ionic/hooks/after_prepare/020_remove_sass_from_platforms.js HC-Ionic


stdout maxBuffer exceeded

  

The only thing I did that I remember before giving trouble was changing the Node version a few times using 'n'. But I already uninstalled all versions of Node that I had, I left only the correct one, but I still have the problem.

The versions on my system are these:

Cordova CLI: 8.1.2 ([email protected])
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS
Node Version: v7.10.1
Xcode version: Xcode 12.4 Build version 12D4e

This setting is necessary because my app only builds with this version 7 of Node, because some libs do not run in the latest versions.

Someone went through something like this?

1 answer

0


I found the solution, apparently the amount of simulators I had in Xcode was exceeding the json that needed to be printable in the build. If the list of simulators exceeds 200KB the Node 7 does not compile. I removed some unnecessary simulators and it worked

Browser other questions tagged

You are not signed in. Login or sign up in order to post.