[AC-5497] Arrow Builder - New Project (blank) on NodeJS 8.1.0 throws error when run
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2018-01-29T16:02:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Arrow Builder |
Labels | arrow |
Reporter | Joseph Sachs |
Assignee | Shak Hossain |
Created | 2018-01-07T14:28:14.000+0000 |
Updated | 2018-01-29T16:02:17.000+0000 |
Description
Running a blank, new Arrow Builder Project throws an error when Running (locally):
Steps to reproduce:
1- Create a new Arrow Build Project
2- Run it
Result:
Appcelerator Command-Line Interface, version 7.0.1
Copyright (c) 2014-2018, Appcelerator, Inc. All Rights Reserved.
Fetching connector/appc.composite@2.0.0
Fetching connector/appc.arrowdb@1.1.11
Installed 2 modules
*2018-01-07T14:21:38.309Z | ERROR | spawn /bin/sh ENOENT
2018-01-07T14:21:38.321Z | ERROR | exited with non-zero exit code*
[~underlabs] Can you attach or send me the output of "appc run -l trace" please?
sure,
The issue "ENOENT" is often related to node js. Can you update your node js. Also, Try a logout and login in the platform through terminal. Thanks.
Any specific node version? The documentation mention > 8.0 (n.b. I'm using 8.1.0) I should note, that previous node projects are running fine, it's when creating new API Builder (node) projects.
Try updating to the latest one. I believe it's 8.9.x.
I've updated to node 8.9.4, and reran the blank project locally:
Issue was resolved after installing:
AND adding it to *dependencies* of the blank project
in package.json