Cannot build - await issue #13544
Unanswered
sjfigatner
asked this question in
Q&A
Replies: 2 comments
-
Do you use node modules in you app? Otherwise there shouldn't be a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you.
Not sure who added these.
Older developers gone now.
I am back up and running.
From: Michael Gangolf ***@***.***>
Sent: Wednesday, August 24, 2022 3:18 PM
To: tidev/titanium_mobile ***@***.***>
Cc: Figatner, Steven J. ***@***.***>; Author ***@***.***>
Subject: [EXTERNAL] Re: [tidev/titanium_mobile] Cannot build - await issue (Discussion #13544)
Do you use node modules in you app? Otherwise there shouldn't be a node_modules folder in your app folder. If not needed just remove it. Otherwise they should be added as devDependencies.
You should install your CLI using sudo npm i -g titanium alloy. Perhaps you've installed it as a user in the app folder
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/tidev/titanium_mobile/discussions/13544*discussioncomment-3468612__;Iw!!J-4R7rTSYA!cMHwC6xpogDzBNEA-6adt0ldXnPmVvJbi5K-uxzB4vCbL95P55X_Os58a2HfSsbtRYB1vObT57WIOezRcVIVdUb2QcJaLSY$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AAO2OMLPDESK4BE726FWM4DV2ZYNHANCNFSM57QI363Q__;!!J-4R7rTSYA!cMHwC6xpogDzBNEA-6adt0ldXnPmVvJbi5K-uxzB4vCbL95P55X_Os58a2HfSsbtRYB1vObT57WIOezRcVIVdUb2RpwIv-c$>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently updated my MAC.
Now I get:
[ERROR] Error: Failed to parse /Users/[username]/Documents/Appcelerator_Studio_Workspace/[appname]/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js
Can not use keyword 'await' outside an async function (6:26)
at Object.analyzeJs (/Users/[username]/Library/Application Support/Titanium/mobilesdk/osx/11.0.0.GA/node_modules/node-titanium-sdk/lib/jsanalyze.js:115:9)
at ProcessJsTask.transformAndCopy (/Users/[username]/Library/Application Support/Titanium/mobilesdk/osx/11.0.0.GA/cli/lib/tasks/process-js-task.js:308:31)
at AndroidBuilder. (/Users/[username]/Library/Application Support/Titanium/mobilesdk/osx/11.0.0.GA/cli/lib/tasks/process-js-task.js:218:17)
at /usr/local/lib/node_modules/titanium/lib/hook.js:261:13
at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:3681:19
at wrapper (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:271:20)
at replenish (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:441:29)
at /usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:451:13
at eachOfLimit$1 (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:477:34)
at awaitable (/usr/local/lib/node_modules/titanium/node_modules/async/dist/async.js:211:32)
Might anyone know what I need to do to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions