title: Error: Cannot find module 'dotenv-expand'
body: <p>Trying to set up this docker container in MacBook M1 which is configuring dependencies for backend and front end. Backend is finely established but having this final error in building frontend.</p>
  <p><a href="https://i.stack.imgur.com/bQCPe.png" rel="nofollow noreferrer">getting this error</a></p>
  <p>I've already checked and found dotenv-expand package there in package.json file, but I think it is not installing it for some reasons.</p>
  <p>This is the dockerfile</p>
  <pre><code>FROM node:10.14
  
  RUN apt-get update &amp;&amp; \
    apt-get install -y \
    libgtk2.0-0 \
    libnotify-dev \
    libgconf-2-4 \
    libnss3 \
    libxss1 \
    libasound2 \
    xvfb
  
  RUN mkdir /app 
  
  WORKDIR /app
  
  # Allows docker to cache installed dependencies between builds
  COPY ./package.json /app/package.json
  COPY ./yarn.lock /app/yarn.lock
  
  
  RUN npm install yarn &amp;&amp; ./node_modules/.bin/yarn install
  RUN npm install --save-dev uglifyjs-webpack-plugin@1
  # Adds our application code to the image
  COPY . /app
  
  
  #RUN yarn postinstall
  
  RUN npm i npm-run-all -D
  
  EXPOSE 8000
  EXPOSE 9001
  
  
  # kicks off the server
  CMD yarn start
  </code></pre>
  <p>These dependencies I found in package.json</p>
  <pre><code>    &quot;dotenv&quot;: &quot;6.0.0&quot;,
      &quot;dotenv-expand&quot;: &quot;4.2.0&quot;,
      &quot;dotenv-extended&quot;: &quot;^2.9.0&quot;,
  </code></pre>