Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [12:03:37] transpile started ...
- [12:03:55] typescript: .../workspace/moodlemobile2/src/core/course/directives/download-module-main-file.ts, line: 63
- Cannot find name 'module'.
- L62: }).finally(() => {
- L63: modal.dismiss();
- L64: });
- [12:03:55] typescript: ...rs/sm449/workspace/moodlemobile2/src/core/emulator/classes/inappbrowserobject.ts, line: 40
- Cannot find name 'require'.
- L39: width = display.workArea.width || width;
- L40: height = display.workArea.height || height;
- [12:03:55] typescript: ...rs/sm449/workspace/moodlemobile2/src/core/emulator/classes/inappbrowserobject.ts, line: 41
- Cannot find name 'require'.
- L40: height = display.workArea.height || height;
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/emulator.module.ts, line: 211
- Cannot find name 'require'.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/badge.ts, line: 47
- Cannot find name 'require'.
- L47: * @returns {Promise<any>}
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/badge.ts, line: 69
- Cannot find name 'require'.
- L69: increase(increaseBy: number): Promise<any> {
- L70: return Promise.reject('increase is only supported in mobile devices');
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/clipboard.ts, line: 33
- Cannot find name 'require'.
- L32: * @param {string} text The text to copy.
- L33: * @return {Promise<any>} Promise resolved when copied.
- [12:03:55] typescript: ...:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file-opener.ts, line: 51
- Cannot find name 'require'.
- L50: * @param {string} packageId Package ID.
- L51: * @returns {Promise<any>} Promise resolved when done.
- [12:03:55] typescript: ...Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file-transfer.ts, line: 128
- 'FileTransferError' only refers to a type, but is being used as a value here.
- L127: // In desktop we need to convert the arraybuffer into a Buffer.
- L128: response = Buffer.from(<any> new Uint8Array(response));
- [12:03:55] typescript: ...Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file-transfer.ts, line: 142
- Cannot find name 'Buffer'.
- L141: * This code is extracted from Cordova FileTransfer plugin.
- L143: * @param {string} urlString The URL to get the credentials from.
- [12:03:55] typescript: ...Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file-transfer.ts, line: 236
- Cannot find name 'FileUploadOptions'.
- L235: options.headers = options.headers || {};
- L236: options.headers[basicAuthHeader.name] = basicAuthHeader.value;
- [12:03:55] typescript: ...Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file-transfer.ts, line: 309
- 'FileTransferError' only refers to a type, but is being used as a value here.
- L308: // Create a form data to send params and the file.
- L309: const fd = new FormData();
- L310: for (const name in params) {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 182
- Cannot find name 'FileWriter'.
- L182: * @param {any} err Error.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 183
- Cannot find name 'FileWriter'.
- L182: * @param {any} err Error.
- L184: private fillErrorMessageMock(err: any): void {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 214
- Cannot find name 'Flags'.
- L213: reject(xc);
- L215: });
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 239
- Cannot find name 'Flags'.
- L238: });
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 262
- Property 'requestFileSystem' does not exist on type 'Window'.
- L261: calculateByRequest(size * ratio, ratio).then(resolve);
- L262: }, () => {
- L263: resolve(size / ratio);
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 268
- Property 'requestFileSystem' does not exist on type 'Window'.
- L268: // General calculation, base 1MB and increasing factor 1.3.
- L269: calculateByRequest(1048576, 1.3).then((size: number) => {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 268
- Cannot find name 'LocalFileSystem'.
- L268: // General calculation, base 1MB and increasing factor 1.3.
- L269: calculateByRequest(1048576, 1.3).then((size: number) => {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 336
- Cannot find name 'require'.
- L335: basePath = this.textUtils.concatenatePaths(basePath.replace(/\\/g, '/'), CoreConfigConstants.app_id) + '/';
- L337: // Create the folder if needed.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 337
- Cannot find name 'require'.
- L337: // Create the folder if needed.
- L338: fs.mkdir(basePath, (e) => {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 364
- Property 'requestFileSystem' does not exist on type 'Window'.
- L363: * @param {Entry} srce The Entry to copy.
- L364: * @param {DirectoryEntry} destDir The directory where to move the file/dir.
- L365: * @param {string} newName New name of the file/dir.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 364
- Cannot find name 'LocalFileSystem'.
- L363: * @param {Entry} srce The Entry to copy.
- L364: * @param {DirectoryEntry} destDir The directory where to move the file/dir.
- L365: * @param {string} newName New name of the file/dir.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 487
- Cannot find name 'DirectoryReader'.
- L487: * @param {string} path Base FileSystem.
- L488: * @param {string} file Name of file, relative to path.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 620
- Property 'resolveLocalFileSystemURL' does not exist on type 'Window'.
- L620: * Remove a directory and all its contents.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 657
- Cannot find name 'FileWriter'.
- L656: writer.write(data);
- L657: });
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/file.ts,
- line: 737
- Cannot find name 'FileWriter'.
- L736: writer.onwrite = (): void => {
- L737: if (writtenSize < data.size) {
- L738: writeNextChunk();
- [12:03:55] typescript: ...Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/globalization.ts, line: 40
- Cannot find name 'require'.
- L39: * @return {Promise<{value: string}>} Promise resolved with an object with the language
- string.
- L41: getLocaleName(): Promise<{ value: string }> {
- [12:03:55] typescript: ...Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/globalization.ts, line: 60
- Cannot find name 'GlobalizationError'.
- [12:03:55] typescript: ...sm449/workspace/moodlemobile2/src/core/emulator/providers/local-notifications.ts, line: 448
- Cannot find name 'require'.
- L447: delete notification.triggered;
- L448: this.scheduled[notification.id] = {
- L449: notification: notification
- [12:03:55] typescript: ...sm449/workspace/moodlemobile2/src/core/emulator/providers/local-notifications.ts, line: 521
- Cannot find name 'require'.
- L521: this.observers[eventName].push(callback);
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/push.ts,
- line: 119
- Cannot find name 'require'.
- L118: * successHandler gets called with an integer which is the current badge count
- L120: getApplicationIconBadgeNumber(): Promise<number> {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/core/emulator/providers/push.ts,
- line: 140
- Cannot find name 'require'.
- L140: finish(id?: string): Promise<any> {
- L141: return Promise.reject('finish is only supported in mobile devices');
- [12:03:55] typescript: ...sm449/workspace/moodlemobile2/src/core/settings/pages/space-usage/space-usage.ts, line: 163
- Cannot find name 'FileError'.
- L162: // Ignore cancelled confirmation modal.
- L163: });
- L164: });
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 162
- Cannot find name 'require'.
- L161: return false;
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 179
- Cannot find name 'require'.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 209
- Cannot find name 'Connection'.
- L209: isNetworkAccessLimited(): boolean {
- L210: const type = this.network.type;
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 209
- Cannot find name 'Connection'.
- L209: isNetworkAccessLimited(): boolean {
- L210: const type = this.network.type;
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 230
- Cannot find name 'Connection'.
- L231: try {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 230
- Cannot find name 'Connection'.
- L231: try {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 230
- Cannot find name 'Connection'.
- L231: try {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 230
- Cannot find name 'Connection'.
- L231: try {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/app.ts, line: 246
- Cannot find name 'require'.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/file.ts, line: 102
- Property 'resolveLocalFileSystemURL' does not exist on type 'Window'.
- L101: return this.file.resolveLocalFilesystemUrl(this.addBasePathIfNeeded(path));
- L102: }).then((entry) => {
- L103: return <FileEntry> entry;
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/file.ts, line: 769
- Cannot find name 'Entry'.
- L768: * @param {string} path Path to the file/dir.
- L769: * @param {boolean} [isDir] True if directory, false if file.
- L770: * @return {Promise<any>} Promise resolved with metadata.
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/utils/utils.ts, line: 193
- Cannot find name 'require'.
- L192: // Clone the array and all the entries.
- L193: const newArray = [];
- L194: for (let i = 0; i < source.length; i++) {
- [12:03:55] typescript: C:/Users/sm449/workspace/moodlemobile2/src/providers/utils/utils.ts, line: 782
- Cannot find name 'require'.
- L782: * @param {string} url The URL of the file.
- L783: * @return {Promise<void>} Promise resolved when opened.
- [12:03:55] dev server running: http://localhost:8100/
- $ node --version
- v6.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement