Getting Started with Nodejs


I am trying to follow the guide on:

but I am getting this error:
Error: Cannot find module 'duo_web’

All of the “npm install” stages seem to be passing properly.

To make things clear I am using docker.
Here is the entire dockerfile that I use (which results in the above error)

FROM ubuntu:16.04
RUN apt-get update && apt-get install -y  curl nano nodejs git npm

RUN git clone
RUN npm install global @duosecurity/duo_web
WORKDIR duo_nodejs
#checkout specific version on git
RUN git checkout 9e4124c
RUN npm install
run nodejs -e "\
	const duo_web = require('duo_web');\
	duo_web.sign_request(ikey, skey, akey, username);\