I run the number-genie example for api.ai
. When I execute the app on my local ubuntu server, (step 7) This is what I get as output:
./app.js: line 1: use-strict: command not found
./app.js: line 2: process.env.DEBUG: command not found
./app.js: line 3: syntax error near unexpected token `('
./app.js: line 3: `let ApiAiAssistant = require('actions-on-google').ApiAiAssistant;'
However, when I run any other app on node.js, it runs fine.