Error: Unknown object type "asyncfunction" - serverless

I have and issue with my serverless deployment to AWS. Im fairly new to it so I'm unsure as to what the issue is.
I have found a few solutions online but none have worked so any ideas would be greatly accepted. also I know there is a very similar question on here but that solution didnt work and after asking for more details nobody responded so I made a new question. Please help!
Error: Unknown object type "asyncfunction"
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:218:17)
at Object._function (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:319:14)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object._function (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:319:14)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at /Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:246:18
at Array.forEach (<anonymous>)
at Object._object (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:242:21)
at Object.dispatch (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:185:30)
at hash (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:128:10)
at objectHash (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:33:10)
at Function.exports.sha1 (/Users/mick/Desktop/service/api-user-service/node_modules/object-hash/index.js:44:10)
at AwsProvider.request (/Users/mick/Desktop/service/api-user-service/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:234:35)
at AwsDeploy.uploadZipFile (/Users/mick/Desktop/service/api-user-service/node_modules/serverless/lib/plugins/aws/deploy/lib/uploadArtifacts.js:76:26)
at BbPromise.map.concurrency (/Users/mick/Desktop/service/api-user-service/node_modules/serverless/lib/plugins/aws/deploy/lib/uploadArtifacts.js:127:21)
at tryCatcher (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/util.js:16:23)
at MappingPromiseArray._promiseFulfilled (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/map.js:68:38)
at MappingPromiseArray.PromiseArray._iterate (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/promise_array.js:115:31)
at MappingPromiseArray.init (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/promise_array.js:79:10)
at MappingPromiseArray._asyncInit (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/map.js:37:10)
at _drainQueueStep (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/async.js:97:12)
at _drainQueue (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/mick/Desktop/service/api-user-service/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:463:21)
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 15.6.0
Framework Version: 1.63.0
Plugin Version: 3.3.0
SDK Version: 2.3.0
Components Core Version: 1.1.2
Components CLI Version: 1.4.0

The issue is happening with node version v15.8.0. Resolved by downgrading system version to v14.15.5 using nvm

Problem was 'object-hash' in Node modules
Remove the object hash references throughout the service (Use Find tool)
Had to comment out part of the code in the handlers
Remove the node modules folder altogether then
Then run yarn install to remove the object-hash dependency
Make sure it is uninstalled by using the find tool
Run sls deploy again
Asynync Error should be gone then....
If THEN run into a failed Uploaded file must be a non-empty zip
There is a problem with node version
Reduce to node version 14.15.1 here using homebrew (Mac)
Solved the issue for me!

Related

Error while electron js / builder on an existing react js based project

I have full functioning project running React js with Rails as backend
Planning to build desktop apps using electron.js
its running perfectly on dev
PORT=3001 concurrently \"cross-env BROWSER=none yarn react-start\" \"wait-on http://localhost:3001 && electron .\
when i run yarn run electron-builder -m i got below error
• electron-builder version=22.10.5 os=20.3.0
• loaded configuration file=package.json ("build" field)
• loaded parent configuration preset=react-cra
• Specified application directory equals to project dir — superfluous or wrong configuration appDirectory=.
• description is missed in the package.json appPackageFile=/Users/admin/Dev/project/frontend/package.json
• writing effective config file=out/builder-effective-config.yaml
• rebuilding native dependencies dependencies=canvas#2.7.0, fsevents#1.2.13, node-sass#4.14.1 platform=darwin arch=x64
• rebuilding native dependency name=canvas version=2.7.0
• rebuilding native dependency name=fsevents version=1.2.13
• rebuilding native dependency name=node-sass version=4.14.1
• packaging platform=darwin arch=x64 electron=11.4.2 appOutDir=out/mac
• Unpacking electron zip zipPath=undefined
⨯ editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. stackTrace=
Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:317:21)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:327:19)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/admin/Dev/project/frontend/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at determineEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/admin/Dev/project/frontend/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (internal/modules/cjs/loader.js:1118:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Function.Module._load (internal/modules/cjs/loader.js:875:14)
at Module.require (internal/modules/cjs/loader.js:1022:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/admin/Dev/project/frontend/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
i"m using OSX - Big Sur
Node - v13.14.0
Yarn - 1.22.10
and xcode 12.4
I thought this issue is just on osx. i got some other issue on windows build yarn run electron-builder -m
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:697:50: note: 'remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
^
1 error generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/admin/Dev/project/frontend/node_modules/node-sass/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 20.3.0
gyp ERR! command "/Users/admin/.nvm/versions/node/v13.14.0/bin/node" "/Users/admin/Dev/project/frontend/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/admin/Dev/project/frontend/node_modules/node-sass
gyp ERR! node -v v13.14.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
error Command failed with exit code 1.
command=/Users/admin/.nvm/versions/node/v13.14.0/bin/node /usr/local/lib/node_modules/yarn/bin/yarn.js run install
workingDir=/Users/admin/Dev/project/frontend/node_modules/node-sass
error Command failed with exit code 1.
Delete node_modules and run npm i again. After that should work.
To delete node_modules in command line use: rm -R node_modules -f.
It worked for me, building without errors after that.
I had same problem! It's a problem version NodeJS, I was using v16.16.0 and I done downgrade for v16.15.O.
Follow the steps after downgrade node:
Delete Node Modules
Delete Package-lock.json
NPN Install
Now it's works and building.

ionic cordova build ios Error: spawn EPERM ionic 3

I have this error when i try ionic cordova build ios
Error: spawn EPERM
at ChildProcess.spawn (internal/child_process.js:313:11)
at Object.exports.spawn (child_process.js:503:9)
at spawn (/usr/local/lib/node_modules/ionic/node_modules/cross-spawn/index.js:12:24)
at spawn (/usr/local/lib/node_modules/ionic/node_modules/#ionic/cli-framework/utils/shell.js:136:12)
at ShellCommand.spawn (/usr/local/lib/node_modules/ionic/node_modules/#ionic/cli-framework/utils/shell.js:125:16)
at ShellCommand.run (/usr/local/lib/node_modules/ionic/node_modules/#ionic/cli-framework/utils/shell.js:87:24)
at Shell.<anonymous> (/usr/local/lib/node_modules/ionic/lib/shell.js:34:37)
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/node_modules/ionic/node_modules/tslib/tslib.js:104:62)
at <anonymous>

Exceljs - TypeError: Cannot read property 'sheets' of undefined

I got this issue when I tried to read an excel file and I have no clue what caused the issue. Can someone give me a hint?
exceljs version: 2.0.1
TypeError: Cannot read property 'sheets' of undefined
at _callee10$ (/Users/tvi/Documents/BCM projects/sandbox/bulkUpload/node_modules/exceljs/dist/es5/xlsx/xlsx.js:553:43)
at tryCatch (/Users/tvi/Documents/BCM projects/sandbox/bulkUpload/node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (/Users/tvi/Documents/BCM projects/sandbox/bulkUpload/node_modules/regenerator-runtime/runtime.js:303:22)
at Generator.prototype.(anonymous function) [as next] (/Users/tvi/Documents/BCM
projects/sandbox/bulkUpload/node_modules/regenerator-runtime/runtime.js:117:21)
at asyncGeneratorStep (/Users/tvi/Documents/BCM projects/sandbox/bulkUpload/node_modules/exceljs/dist/es5/xlsx/xlsx.js:3:103)
at _next (/Users/tvi/Documents/BCM projects/sandbox/bulkUpload/node_modules/exceljs/dist/es5/xlsx/xlsx.js:5:194)
at

Node.js bcrypt working when normal but not working when using with Electron

When i am using the without electron it's work like a charm but when i am trying to do hash with electron it's not working at all i just even require
App threw an error during load
Error: The module '/home/thalinda/Desktop/real/node_modules/bcrypt/lib/binding/bcrypt_lib.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:6:16)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:239:3)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: The module '/home/thalinda/Desktop/real/node_modules/bcrypt/lib/binding/bcrypt_lib.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:6:16)
at Object.<anonymous> (/home/thalinda/Desktop/real/node_modules/bcrypt/bcrypt.js:239:3)

Shell Script Invocation Error on XCode 8.3.2 on React-native

I got this Error When I run my ReactNative App
/Users/GLB-285/Desktop/ReactProjects/DribbleProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh: line 3: /Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/scripts/ios-install-third-party.sh: Permission denied**
And In terminal:
child_process.js:495
throw err;
^
Error: spawnSync /Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/local-cli/setup_env.sh EACCES
at exports._errnoException (util.js:1020:11)
at spawnSync (child_process.js:450:20)
at Object.execFileSync (child_process.js:487:13)
at Object.run (/Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/local-cli/cliEntry.js:136:16)
at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:117:7)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Clean ~/.rncache folder.
Download 4 third party library by manual
or
Re-run the react-native run-ios command and wait to print
curl: Saved to filename message.
You should check 100% Received status.
Never press the ctrl+c on build phase.

Resources