安裝同事打包的一個模塊,報了這麼個錯,不過在其餘地方使用是正常的。node
Error encountered resolving symbol values statically. Function calls are not supported.json
解決的辦法spa
在tsconfig.json文件中添加code
{ ... "compilerOptions": { .. "skipLibCheck": true, "noStrictGenericChecks": false, "paths": { "@angular/*": ["../node_modules/@angular/*"], ... } }, "exclude": [ ... ] }