You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN echo ". /emsdk/emsdk_env.sh" >> /etc/bash.bashrc
64
+
# We must set the EM_NODE_JS environment variable for a somewhat silly reason
65
+
# We run our build scripts with `npm run`, which sets the NODE environment variable as it runs.
66
+
# The EMSDK picks up on that environment variable and gives a deprecation warning: warning: honoring legacy environment variable `NODE`. Please switch to using `EM_NODE_JS` instead`
67
+
# So, we are going to put this environment variable here explicitly to avoid the deprecation warning.
68
+
RUN echo 'export EM_NODE_JS="$EMSDK_NODE"' >> /etc/bash.bashrc
0 commit comments