SIP.js icon indicating copy to clipboard operation
SIP.js copied to clipboard

Compile issue using npm on windows

Open gbfarah opened this issue 4 years ago • 2 comments

When running npm run build-and-test. Error below is encountered... Appears to assume linux flavoured build machine

cp dist/sip.js dist/sip-$npm_package_version.js && cp dist/sip.min.js dist/sip-$npm_package_version.min.js

[email protected] copy-dist-files C:\temp\SIPJS_latest\SIP.js cp dist/sip.js dist/sip-$npm_package_version.js && cp dist/sip.min.js dist/sip-$npm_package_version.min.js

'cp' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] copy-dist-files: cp dist/sip.js dist/sip-$npm_package_version.js && cp dist/sip.min.js dist/sip-$npm_package_version.min.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] copy-dist-files script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

gbfarah avatar May 04 '21 06:05 gbfarah

Yes, our build is currently *nix. If you are just using this as a dependency, you can install via npm.

james-criscuolo avatar May 04 '21 14:05 james-criscuolo

https://github.com/onsip/SIP.js/pull/516

seanbright avatar May 04 '21 14:05 seanbright

Hi,

We are doing dev in *nix environment currently. #516 is likely perhaps helpful if you must. Not sure what it would take to support Windows as development environment, but it's a very low priority at the moment as given the resources we have we don't want to add maintaining an alternative windows dev environment to the list. So gonna close this.

Thanks and regards,

John

john-e-riordan avatar Oct 02 '22 18:10 john-e-riordan