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
vardetectNode=require('detect-node');console.log('detectNode: ',detectNode,typeofglobal,typeofprocess,typeofprocess.env,process.env.NODE_ENV,Object.prototype.toString.call(typeofprocess!=='undefined' ? process : 0));
reuslt:
detectNode: false object object object development [object Object]
node -v:
v8.10.0
npm -v:
5.6.0
os:
windows 10
The text was updated successfully, but these errors were encountered:
zhihuilai
changed the title
process.evn、process.env.NODE_ENV exist,bug detect result is false
process.env.NODE_ENV exist,bug detect result is false
Sep 23, 2018
test js:
reuslt:
node -v:
v8.10.0
npm -v:
5.6.0
os:
windows 10
The text was updated successfully, but these errors were encountered: