Expand my Community achievements bar.

Build Error

Avatar

Level 4

I am creating local project , by following instructions in https://adobeio-codelabs-custom-events-adobedocs.project-helix.page/?src=/lessons/lesson4.html

However when i execute

>aio app build , am getting following error

 

"moduleIdentifier": "C:\\diMonitoring5\\diMonitoring5\\src\\dx-excshell-1\\actions\\slack\\index.js",
» "moduleName": "./src/dx-excshell-1/actions/slack/index.js",
» "loc": "1:14-32",
» "message": "Module not found: Error: Can't resolve 'request' in 'C:\\diMonitoring5\\diMonitoring5\\src\\dx-excshell-1\\actions\\slack'",
» "moduleId": 663,
» "moduleTrace": [],
» "details": "resolve 'request' in 'C:\\diMonitoring5\\diMonitoring5\\src\\dx-excshell-1\\actions\\slack'\n Parsed request is a module\n using descripti

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Employee

@navink386520 - I suspect you don't have the `request` module in your package.json file. Please try adding it, npm install, and rerun your app.

In the long term, we should migrate this code to use node-fetch instead.