Closed NathanWalker closed 8 years ago
So we don't loose this from slack;
Two things you have to fix...
With both those fixes in place; bundle building works.
Bundled builds however produce this error on startup: Jul 7 15:32:29 Macs-Mac ShoutOutPlay[5044]: CONSOLE WARN file:///app/bundle.js:107081:15: The TypeScript constructor "TKListViewDataSourceImpl" will not be executed. Jul 7 15:32:29 Macs-Mac ShoutOutPlay[5044]: CONSOLE WARN file:///app/bundle.js:107222:15: The TypeScript constructor "ExtendedListViewCell" will not be executed. Jul 7 15:32:29 Macs-Mac ShoutOutPlay[5044]: 1 0x96082c -[TNSRuntime executeModule:] Jul 7 15:32:29 Macs-Mac ShoutOutPlay[5044]: 2 0x6b75b main Jul 7 15:32:29 Macs-Mac ShoutOutPlay[5044]: 3 0x5266a25 start Jul 7 15:32:29 Macs-Mac ShoutOutPlay[5044]: file:///app/bundle.js:109937:26: JS ERROR TypeError: Attempted to assign to readonly property. Jul 7 15:32:29 Macs-Mac com.apple.CoreSimulator.SimDevice.62460DF3-C77B-4585-B0FD-AC5A103E75E5.launchd_sim4616: Service exited due to signal: Segmentation fault: 11
Line 109937 is a standard __extend function; so this occurs while something is being extended...
With the tremendous effort of @NathanaelA and I's collaboration, we are now able to Webpack bundle this app!! Hooray!
When using:
WEBPACK_OPTS="--display-error-details" tns build ios --bundle
Results in these errors: