Open Gr8tMiller opened 5 years ago
my fault, adding
"importHelpers": true,
into tsconfig.json
fix the problem.
refer https://www.typescriptlang.org/docs/handbook/compiler-options.html
I have the same problem! how did you resolved it?
the same problem
update devDependencies
"rollup-plugin-typescript2": "^0.23.0"
Also you need to bump the rollup version in devDependencies
"rollup": "^0.68.0"
Just as an update was experiencing this same issue again with:
"rollup-plugin-typescript2": "^0.29.0",
"rollup": "^2.38.5",
Bumping to v0.30.0 solved the issue.
"rollup-plugin-typescript2": "^0.30.0"
if you are working with react app in typescript you may just need to install "tslib" to solve the problem. ====> npm install tslib
tslib will then be added to your package.json
Solved this by npm install tslib@latest --save
Hi, I got an error when
npm run build
, the message shown has nothing to do with my source code.these are all modules I added in my project:
the complete log is here
i would really appreciate it if you can help me.