decentralized-identity / uni-resolver-driver-did-key

A Universal Resolver driver for did:key identifiers.
5 stars 2 forks source link

Error: Cannot find module 'oas3-tools' #1

Open mingderwang opened 4 years ago

mingderwang commented 4 years ago

docker build -f ./docker/Dockerfile . -t universalresolver/driver-did-key docker run -p 8080:8080 universalresolver/driver-did-key Sending build context to Docker daemon 88.06kB Step 1/8 : FROM node:10 ---> 2457d5f85d32 Step 2/8 : MAINTAINER Markus Sabadello markus@danubetech.com ---> Using cache ---> 46a7e9a18610 Step 3/8 : WORKDIR /usr/src/app ---> Using cache ---> 10f55b6dfbb4 Step 4/8 : COPY package.json ./ ---> Using cache ---> bf61e563c0bc Step 5/8 : RUN npm install ---> Using cache ---> cb32807a96d0 Step 6/8 : COPY . . ---> Using cache ---> 4ecb170b24bd Step 7/8 : EXPOSE 8080 ---> Using cache ---> e9af987497ed Step 8/8 : CMD [ "node", "index.js" ] ---> Using cache ---> d38a746372bd Successfully built d38a746372bd Successfully tagged universalresolver/driver-did-key:latest internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'oas3-tools' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/usr/src/app/index.js:6:17) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)