"default" is imported from external storage of the module, but never used
I want to run my AOT project. For a test, I am starting a quick start of the project according to this step by step. After that, the aot command folder is created.
"node_modules / .bin / ngc" -p tsconfig-aot.json
but after the rollup command:
"node_modules / .bin / rollup" -c rollup-config.js
this error appears:
'default' is imported from external module 'rollup' but never used
What is the problem?
Thanks in advance.
+3
Mohsen
source
to share
1 answer
Try to comment out the first line
import rollup from 'rollup'
+2
Ahuman
source
to share