text: Failing to load because PropTypes
  • Mark Eschbach
  In migrating the application the primary developer integration cluster has shown an error we weren’t expecting yet. Specifically the migration from React
  15.1.0 to
  15.5.0. I want to grumble the upgrade is at the heart of the issue, however it was on us to read thruogh the documentation first ot verify, although I don’t have to accept a warning in a
  dev environment about programming styles should result in a panic in production. This behavior debuted in 15.5.0.
  Looks like I can just replace the imports from
  import { PropTypes } from React to
  import PropTypes from 'prop-types'. Additional move
  React.PropTypes to just
  PropTypes.
  Tedium abound. Missed one reference on the first pass. Missed two turns out. We reverted back to
  15.4.2 as a library we use references
  PropTypes.
  Portainer
  Since I reset
  Docker for Mac going crazy with
  docker-compose I haven’t setup portainer again. First step is adding
  -v "/var/run/docker.sock:/var/run/docker.sock" to allow portainer to access Docker. The second step is exposing a host volume to store the data so I can upgrade Portainer. This is done by mounting
  /data for the conatiner on the local file system like
  -v portainer:/data. Easy enough.