Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4689] spawn-sync

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-01-02T16:40:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterDaniel Ethier
AssigneeShak Hossain
Created2016-12-22T02:28:23.000+0000
Updated2018-07-30T16:52:58.000+0000

Description

Steps to Reproduce

Just building a project with 6.0.1 that has always worked before.

Actual Result

Project will not build ... Cannot find module spawn-sync

Expected Result

If you need a module why don't you install it yourself so I don't need to spend hours and hours on Google trying to figure this crap out. Every time you update you break something like this.

Attachments

FileDateSize
.log2016-12-22T02:28:27.000+00004026827
diagnostic3539902303743150502.log2016-12-22T02:28:32.000+0000141301
spawn-sync.txt2016-12-22T02:28:32.000+00001357

Comments

  1. Hans Knöchel 2016-12-22

    Hey Daniel, first of all, I cannot reproduce this issue using 6.0.1.GA and CLI 6.1.0. Besides that, the error looks related to the 6.1.0 CLI, not the SDK. Our team will investigate it anyway, thx!
  2. Daniel Ethier 2016-12-22

    I got it working by uninstalling Node and installing 6.9.2 using the Mac OS X installer package. Then I was able to install spawn-sync using npm. But why was spawn-sync not installed by your updater if it was needed? Perhaps it needs to do some version checks on node and npm to make sure everything it needs is present? I never used to have these problems when updating.
  3. Hans Knöchel 2016-12-22

    The recommended NodeJS version is 4.6.x (see the [Compatibility Matrix](http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_Compatibility_Matrix)), so that could also has been the problem. Later NodeJS versions will be supported in future releases.
  4. (deactived) Brian Immel 2017-01-03

    [~sdarda], I believe the Compatibility Matrix document is up to date as Hans mentioned.

JSON Source