Build Error | Community
Skip to main content
Level 4
August 5, 2021
Question

Build Error

  • August 5, 2021
  • 1 reply
  • 1108 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
August 5, 2021

@navin_kumar0601 - 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.