Hello,
After upgrade to ionic2 rc1 I started to have 2 errors:
ionic serve started to throw errors in *.spec.ts files, that cannot find name ‘it’ and ‘describe’…
@ionic/app-scripts 0.0.30 were fine. I did workaround by importing ‘mocha’ in app.component.ts and this type of errors disapreared.
now i am getting error like this:
[08:24:37] rollup: Treating ‘fs’ as external dependency
[08:24:37] rollup: Treating 'child_process' as external dependency
[08:24:40] rollup: No name was provided for external module 'fs' in options.globals – guessing 'fs'
[08:24:40] rollup: No name was provided for external module 'child_process' in options.globals – guessing
'child_process'
main.js is created, but browser thorws error:
browser-entry.js:166
Uncaught ReferenceError: fs is not defined(anonymous function) @ browser-entry.js:166
Do anybody have any suggestion how to solve these errors?
Thanks