Skip to content

Update trivia-template and links in documentation for X #278

Description

@bissolli
  • node version 6.11.3
  • following to starter tutorial [https://botpress.io/docs/beta/getting_started/trivia_content/]

Botpress version: 10.10.0

Hey guys,

Just started the tutorial and when I run botpress start after cloning the repo https://github.com/botpress/tutorial.git, I get the following error:

ERR Error starting botpress:  Unexpected token ... /botpress/step-1/src/index.js:24
          .map(arg => ({ ...arg, name: arg.name.replace('args.', '') }))
                         ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    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)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at botpress._callee$ (/botpress/step-1/node_modules/botpress/lib/webpack:/src/botpress.js:352:26)
    at tryCatch (/usr/local/lib/node_modules/botpress/node_modules/regenerator-runtime/runtime.js:65:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/botpress/node_modules/regenerator-runtime/runtime.js:303:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/botpress/node_modules/regenerator-runtime/runtime.js:117:21)
    at step (/botpress/step-1/node_modules/botpress/lib/node.bundle.js:4682:191)
    at /botpress/step-1/node_modules/botpress/lib/node.bundle.js:4682:361

Any ideas?

Metadata

Metadata

Assignees

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