speech-to-text-nodejs
speech-to-text-nodejs copied to clipboard
Error while trying to upload app to cloud foundry
terminal date running on mac-os
Getting app info... Updating app with these attributes... name: mycloudvip-speech-to-text path: /Users/PROJECTS/Server/speech-to-text-nodejs command: npm start disk quota: 1G health check type: port instances: 1 memory: 256M stack: cflinuxfs3 routes: mycloudvip-speech-to-text.mybluemix.net
Updating app mycloudvip-speech-to-text... Mapping routes... Comparing local files to remote cache... Packaging files to upload... Uploading files... 42.87 KiB / 42.87 KiB [============================================] 100.00% 1s
Waiting for API to complete processing files...
Stopping app...
Staging app and tracing logs... Downloading liberty-for-java_v3_49_1-20201014-1251... Downloading java_buildpack... Downloading ruby_buildpack... Downloading swift_buildpack_v2_0_18-20190303-1915... Downloading swift_buildpack_v2_0_20-20190401-2122... Downloaded swift_buildpack_v2_0_18-20190303-1915 Downloading noop-buildpack... Downloaded swift_buildpack_v2_0_20-20190401-2122 Downloading xpages_buildpack... Downloaded ruby_buildpack Downloading nginx_buildpack... Downloaded liberty-for-java_v3_49_1-20201014-1251 Downloading nodejs_buildpack... Downloaded noop-buildpack Downloading go_buildpack... Downloaded java_buildpack Downloading python_buildpack... Downloaded nginx_buildpack Downloading php_buildpack... Downloaded nodejs_buildpack Downloading binary_buildpack... Downloaded xpages_buildpack Downloading swift_buildpack_cflinuxfs3_v2_1_0-20190404-1206... Downloaded python_buildpack Downloading staticfile_buildpack... Downloaded binary_buildpack Downloading liberty-for-java... Downloaded php_buildpack Downloaded swift_buildpack_cflinuxfs3_v2_1_0-20190404-1206 Downloading sdk-for-nodejs_v4_4-20200828-1028... Downloading r_buildpack... Downloaded go_buildpack Downloading sdk-for-nodejs_v4_3-20200606-1928... Downloaded staticfile_buildpack Downloading dotnet-core_v2_8-20200908-1929... Downloaded liberty-for-java Downloading dotnet-core_v2_7-20200615-1457... Downloaded sdk-for-nodejs_v4_4-20200828-1028 Downloading liberty-for-java_v3_49-20200918-0244... Downloaded r_buildpack Downloading sdk-for-nodejs... Downloaded sdk-for-nodejs_v4_3-20200606-1928 Downloading dotnet-core... Downloaded dotnet-core_v2_8-20200908-1929 Downloading swift_buildpack... Downloaded dotnet-core_v2_7-20200615-1457 Downloaded liberty-for-java_v3_49-20200918-0244 Downloaded sdk-for-nodejs Downloaded dotnet-core Downloaded swift_buildpack Cell 4e5a811a-c19b-4cbf-b67a-ca712da85e34 creating container for instance 26ddc1c1-1266-4007-8030-9752e270fa3d Cell 4e5a811a-c19b-4cbf-b67a-ca712da85e34 successfully created container for instance 26ddc1c1-1266-4007-8030-9752e270fa3d Downloading build artifacts cache... Downloading app package... Downloaded build artifacts cache (14.5M) Downloaded app package (36.4M) -----> IBM SDK for Node.js Buildpack v4.4-20200828-1028 Based on Cloud Foundry Node.js Buildpack 1.7.26 -----> Installing binaries engines.node (package.json): >=12.0 engines.npm (package.json): unspecified (use default) WARNING Dangerous semver range (>) in engines.node. See: http://docs.cloudfoundry.org/buildpacks/node/node-tips.html Attempting to install: 12.18.3 -----> Installing node 12.18.3 Copy [/tmp/buildpacks/25618dffa64578002d506e9cffe3f2dc/nodejs/dependencies/f210eab58d5f5407c4a0e5961429ff2a/node_12.18.3_linux_x64_cflinuxfs3_760e2656.tgz] Using default npm version: 6.14.6 -----> Installing yarn 1.22.4 Copy [/tmp/buildpacks/25618dffa64578002d506e9cffe3f2dc/nodejs/dependencies/d9f0c5147bcb9ee798f041978c157822/yarn-1.22.4-any-stack-24ca2294.tgz] Installed yarn 1.22.4 -----> Creating runtime environment PRO TIP: It is recommended to vendor the application's Node.js dependencies Visit http://docs.cloudfoundry.org/buildpacks/node/index.html#vendoring NODE_ENV=production NODE_HOME=/tmp/contents521364895/deps/0/node NODE_MODULES_CACHE=true NODE_VERBOSE=false NPM_CONFIG_LOGLEVEL=error NPM_CONFIG_PRODUCTION=true -----> Building dependencies Installing node modules (package.json + package-lock.json)
[email protected] install /tmp/app/node_modules/websocket (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory '/tmp/app/node_modules/websocket/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o bufferutil.target.mk:112: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: Leaving directory '/tmp/app/node_modules/websocket/build' [email protected] postinstall /tmp/app/node_modules/@babel/polyfill/node_modules/core-js node postinstall || echo "ignore" [email protected] postinstall /tmp/app/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}" added 807 packages from 449 contributors and audited 1199 packages in 55.245s 23 packages are looking for funding run
npm fundfor details found 2 low severity vulnerabilities runnpm audit fixto fix them, ornpm auditfor details WARNING Unmet dependencies don't fail npm install but may cause runtime issues See: https://github.com/npm/npm/issues/7494 Contrast Security no credentials found. Will not write environment files. Exit status 0 Uploading droplet, build artifacts cache... Uploading droplet... Uploading build artifacts cache... Uploaded build artifacts cache (14.5M) Uploaded droplet (75.2M) Uploading complete Cell 4e5a811a-c19b-4cbf-b67a-ca712da85e34 stopping instance 26ddc1c1-1266-4007-8030-9752e270fa3d Cell 4e5a811a-c19b-4cbf-b67a-ca712da85e34 destroying container for instance 26ddc1c1-1266-4007-8030-9752e270fa3d Cell 4e5a811a-c19b-4cbf-b67a-ca712da85e34 successfully destroyed container for instance 26ddc1c1-1266-4007-8030-9752e270fa3d
Waiting for app to start... Start unsuccessful
TIP: use 'cf logs mycloudvip-speech-to-text --recent' for more information FAILED
I got the same error.
me to, any solution for this issue?