Ts can't find process.

vue-cli 3.0.ts file

const baseUrl = process.env.NODE_ENV === "development" ? config.baseUrl.dev : config.baseUrl.pro;

prompt

// [ts] "process" 

clipboard.png

Jul.20,2021

3.0 is not clear. The 2.x cli I used when learning ts not long ago encountered this problem. I installed @ types/node at that time, and you can get it. You can try


vue-cli 3.0 do not see the ts file
, while the project created by vue-cli is run in the browser, of course, there is no process

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea962d-1f50.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea962d-1f50.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?