Package Details: assemblyscript 0.17.3-1

Git Clone URL: https://aur.archlinux.org/assemblyscript.git (read-only, click to copy)
Package Base: assemblyscript
Description: TypeScript to WebAssembly compiler
Upstream URL: https://assemblyscript.org/
Licenses: Apache
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 1
Popularity: 0.59
First Submitted: 2019-06-22 15:30
Last Updated: 2020-11-24 04:09

Latest Comments

JCaesar commented on 2020-10-23 09:43

Wow, that was fast. Fix confirmed (although I don't understand how this changes anything..)

Chocobo1 commented on 2020-10-22 04:39

It doesn't even seem to compile the basic fib example.

Fixed now.

JCaesar commented on 2020-10-22 01:14

Are there maybe some missing dependencies? It doesn't even seem to compile the basic fib example.

/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:253
    return new TSError(diagnosticText, diagnosticCodes)
           ^
Error: TSError: ⨯ Unable to compile TypeScript:
../../../../usr/lib/node_modules/assemblyscript/src/glue/js/index.ts(6,23): error TS2304: Cannot find name 'exports'.

    at createTSError (/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:253:12)
    at getOutput (/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:363:40)
    at Object.compile (/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:551:11)
    at Module.m._compile (/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:435:43)
    at Module.m._compile (/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:435:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at require.extensions.<computed> (/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:438:12)
    at Object.require.extensions.<computed> [as .ts] (/usr/lib/node_modules/assemblyscript/node_modules/ts-node/src/index.ts:438:12)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
---
Error: Cannot find module './assemblyscript'
Require stack:
- /usr/lib/node_modules/assemblyscript/cli/asc.js
- /usr/lib/node_modules/assemblyscript/bin/asc
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at loadAssemblyScript (/usr/lib/node_modules/assemblyscript/cli/asc.js:97:28)
    at Object.<anonymous> (/usr/lib/node_modules/assemblyscript/cli/asc.js:104:3)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at loadAssemblyScript (/usr/lib/node_modules/assemblyscript/cli/asc.js:99:17)
    at Object.<anonymous> (/usr/lib/node_modules/assemblyscript/cli/asc.js:104:3)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/usr/lib/node_modules/assemblyscript/bin/asc:19:30)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)