FROM node:latest
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install vim -y
RUN npm install
RUN npm install -g webpack
RUN npm install -g truffle
// Enable fsevents on OS X when polling isn't explicitly enabled.
//if (undef('useFsEvents')) opts.useFsEvents = !opts.usePolling;
// If we can't use fsevents, ensure the options reflect it's disabled.
//if (!FsEventsHandler.canUse()) opts.useFsEvents = false;
opts.useFsEvents = false
app.js:50443 Uncaught ReferenceError: HumanStandardToken is not defined
at Constructor.executeFunction (app.js:50443)
at Object.ReactErrorUtils.invokeGuardedCallback (app.js:12386)
Summary
I got
HumanStandardToken is not defined
error when I tried to run token factory in docker container. Can you help me with my issue?Steps to Reproduce
$docker exec -it token-factory /bin/bash
opts.useFsEvents = false
.#vim /usr/local/lib/node_modules/truffle/build/cli.bundled.js
(*1)*1 https://github.com/trufflesuite/truffle/issues/734
Expected Results
No error occurred.
Actual Results
HumanStandardToken is not defined
error occurred.