Skip to content

Error on creation new Template-builder  #149

Description

@ahdproduction

We are trying to add a new company(EliaGroup) and we a have a issue.
Branch : Master
Company : Elia Group

Script:

  • npm run install = OK
  • npm run serve = OK
  • npm run template-build eliaGroup ERROR

Stacktrace :
=> npm run template-build eliaGroup
Debugger listening on ws://127.0.0.1:60325/cd9afcf0-e5f1-4e56-a868-763afb0c96ab
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.

adele@1.0.0 template-build
node tools/template-builder && npm run data-build "eliaGroup"

Debugger listening on ws://127.0.0.1:60335/c06712a3-d53b-45cd-b074-c421b32f32f0
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Waiting for the debugger to disconnect...
undefined:1
undefined
^

SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse ()
at Object. (/Users/abdelahd/DEV/GitHub/elia/UXPIN/adele/tools/template-builder.js:12:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions