Installation issue - MacOS Sonoma - npm warn deprecated @backtrace-labs@0.0.2 #566
Open
4 tasks done
Labels
class(bug)
Something isn't working
status(previewed)
This issue or pull request should be fixed in a released beta version
Describe the issue
During installation on MacOS Sonoma with the current NodeJS version, I am getting the following:
iMac@iMac ~ % sudo npm install -g icloud-photos-sync
npm warn deprecated @backtrace-labs/sdk-core@0.0.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated @backtrace-labs/node@0.0.2: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Then, when I run the icloud-photos-sync, I getting the following error:
file:///usr/local/lib/node_modules/icloud-photos-sync/bin/lib/resources/main.js:2
import PackageData from '../../../package.json' assert { type: 'json' }; // eslint-disable-line
^^^^^^
SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:337:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:166:18)
at callTranslator (node:internal/modules/esm/loader:436:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:442:30)
How to reproduce the behavior?
No response
Error Code
SyntaxError: Unexpected identifier 'assert'
Relevant log output
Operating system
macOS Sonoma
Execution environment
Node.js v22.8.0
icloud-photos-sync version
latest
Checklist
The text was updated successfully, but these errors were encountered: