INTO-CPS-Association / DTaaS

:factory: :left_right_arrow: :busts_in_silhouette: Digital Twin as a Service
https://into-cps-association.github.io/DTaaS/
Other
116 stars 57 forks source link

[BUG] Error in `yarn gitlab:run` command #1000

Closed VanessaScherma closed 2 weeks ago

VanessaScherma commented 1 month ago

In the client folder, the yarn gitlab:run does not run anymore, returning the following error in the src/preview/util/gitlabDriver.js:

import config from '../../../config/gitlab.json' assert { type: 'json' };
                                                 ^^^^^^

SyntaxError: Unexpected identifier 'assert'
    at compileSourceTextModule (node:internal/modules/esm/utils:337:16)
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:164:18)
    at callTranslator (node:internal/modules/esm/loader:439:14)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:445:30)
    at async ModuleJob._link (node:internal/modules/esm/module_job:106:19)

The commit is bfa34e072e4fbd842c4c08dc0926966afc0e9597.

prasadtalasila commented 2 weeks ago

This code has been removed in PR #957