oracle / netsuite-suitecloud-sdk

SuiteCloud Software Development Kit (SuiteCloud SDK) are the set of tools that allow you to customize accounts and create SuiteApps through SuiteCloud Development Framework (SDF).
https://www.netsuite.com/
Universal Permissive License v1.0
203 stars 63 forks source link

Unix style line endings #341

Open rntgspr opened 3 years ago

rntgspr commented 3 years ago

Your environment

OS : MacOS Big Sur 11,1 Node.js version : 12.14.1 suitecloud-cli version : latest Terminal/CMD tool : iTerm

Describe the bug

Just faced an error using suitecloud cli inside project folder directory on MacOS BigSur 11.1

To Reproduce

$ cd ~/your-project-directory
$ yarn add @oracle/suitecloud-cli
$ ./node_modules/.bin/suitecloud account:manageauth --list

Actual Behavior

env: node\r: No such file or directory

Expected Behavior

<list of current authentication id's>

Additional context

It happens when module is installed on project directory. After file is fixed (adding a line after the first line and saving) everything works as expected.

alisyed-19 commented 3 years ago

@rntgspr Thanks for reporting this, when you say After file is fixed (adding a line after the first line and saving) everything works as expected Which file are you editing and adding a new line?

rntgspr commented 3 years ago

Sorry, I should put it there, https://github.com/oracle/netsuite-suitecloud-sdk/blob/master/packages/node-cli/src/suitecloud.js

Adding a line after line 1

sberlan-odeko commented 2 years ago

One year later, this is somehow still an issue?

Y'all need a PR or something?