"emscripten-sdk-npm": "devappd/emscripten-sdk-npm#force-2.0.14",
emsdk-npm JavaScript API
checkout()
Cloning into 'D:\projects\emscripten\emscripten-build\emsdk-npm\test\emsdk-test'...
remote: Enumerating objects: 2829, done.
remote: Counting objects: 100% (91/91), done.
remote: Compressing objects: 100% (49/49), done.
Receiving objects: 100% (2829/2829), 1.49 MiB | 1.47 MiB/s, done. 2738
Resolving deltas: 13% (217/1806)
Resolving deltas: 100% (1806/1806), done.
√ should write emsdk.py to the install dir (3340ms)
update()
Already up to date.
`update-tags` is not longer needed. To install the latest tot release just run `install tot`
1) should write emscripten-releases-tot.txt to the install dir
install()
Error retrieving installed EMSDK version: ENOENT: no such file or directory, open 'D:\projects\emscripten\emscripten-build\emsdk-npm\test\emsdk-test\upstream\.emsdk_version'
Resolving SDK alias 'latest' to '2.0.27'
Resolving SDK version '2.0.27' to 'sdk-releases-upstream-1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc-64bit'
Installing SDK 'sdk-releases-upstream-1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc-64bit'..
Installing tool 'node-14.15.5-64bit'..
Downloading: D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/node-v14.15.5-win-x64.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v14.15.5-win-x64.zip, 30284821 Bytes
Unpacking 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/node-v14.15.5-win-x64.zip' to 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/node/14.15.5_64bit'
Done installing tool 'node-14.15.5-64bit'.
Installing tool 'python-3.9.2-1-64bit'..
Downloading: D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/python-3.9.2-1-embed-amd64+pywin32.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/python-3.9.2-1-embed-amd64+pywin32.zip, 16982397 Bytes
Unpacking 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/python-3.9.2-1-embed-amd64+pywin32.zip' to 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/python/3.9.2-1_64bit'
Done installing tool 'python-3.9.2-1-64bit'.
Installing tool 'java-8.152-64bit'..
Downloading: D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/portable_jre_8_update_152_64bit.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/portable_jre_8_update_152_64bit.zip, 69241499 Bytes
Unpacking 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/portable_jre_8_update_152_64bit.zip' to 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/java/8.152_64bit'
Done installing tool 'java-8.152-64bit'.
Installing tool 'releases-upstream-1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc-64bit'..
Downloading: D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc-wasm-binaries.zip from https://storage.googleapis.com/webassembly/emscripten-releases-builds/win/1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc/wasm-binaries.zip, 423135197 Bytes
Unpacking 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/zips/1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc-wasm-binaries.zip' to 'D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test/upstream'
Done installing tool 'releases-upstream-1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc-64bit'.
Done installing SDK 'sdk-releases-upstream-1ac46e3b84955231ab4a4f4cbe0c7ac28c86b8cc-64bit'.
2) should write the correct version to upstream/.emsdk_version
activate()
3) should write .emscripten to the install dir
run()
Adding directories to PATH:
PATH += D:\Projects\emscripten\emscripten-build\emsdk-npm\test\emsdk-test
Setting environment variables:
PATH = D:\Projects\emscripten\emscripten-build\emsdk-npm\test\emsdk-test;D:\System\Programs\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\projects\emscripten\emscripten-build\emsdk-npm\node_modules\.bin;D:\Programs\Python\Python39\Scripts\;D:\Programs\Python\Python39\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\SlikSvn\bin;D:\System\Programs\nodejs\;D:\System\Programs\yarn\bin\;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Users\devappd\AppData\Local\Programs\Python\Launcher\;C:\Users\devappd\scoop\shims;C:\Users\devappd\AppData\Local\Microsoft\WindowsApps;C:\Users\devappd\AppData\Roaming\npm;C:\Users\devappd\AppData\Local\Yarn\bin;C:\Users\devappd\.dotnet\tools
EMSDK = D:/Projects/emscripten/emscripten-build/emsdk-npm/test/emsdk-test
EM_CONFIG = D:\Projects\emscripten\emscripten-build\emsdk-npm\test\emsdk-test\.emscripten
Clearing existing environment variable: EMSDK_PY
'em++' is not recognized as an internal or external command,
operable program or batch file.
4) should build an example program and output to test/example-build/main.js
remove()
√ should remove the entire install directory (4997ms)
2 passing (3m)
4 failing
1) emsdk-npm JavaScript API
update()
should write emscripten-releases-tot.txt to the install dir:
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(fs.existsSync(testPath))
+ expected - actual
-false
+true
at Context.<anonymous> (test\test.js:62:9)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
2) emsdk-npm JavaScript API
install()
should write the correct version to upstream/.emsdk_version:
TypeError [ERR_INVALID_ARG_TYPE]: The "value" argument must be one of type number or string or an instance of Buffer or Uint8Array. Received undefined
at bidirectionalIndexOf (buffer.js:942:9)
at Buffer.indexOf (buffer.js:948:10)
at Buffer.includes (buffer.js:956:15)
at Context.<anonymous> (test\test.js:88:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
3) emsdk-npm JavaScript API
activate()
should write .emscripten to the install dir:
TypeError [ERR_INVALID_ARG_TYPE]: The "value" argument must be one of type number or string or an instance of Buffer or Uint8Array. Received undefined
at bidirectionalIndexOf (buffer.js:942:9)
at Buffer.indexOf (buffer.js:948:10)
at Buffer.includes (buffer.js:956:15)
at Object.getInstalled (src\common.js:104:24)
at Context.<anonymous> (test\test.js:94:19)
at processImmediate (internal/timers.js:458:21)
run()
should build an example program and output to test/example-build/main.js:
Error: spawn cd "D:\projects\emscripten\emscripten-build\emsdk-npm\test\emsdk-test" && "D:\projects\emscripten\emscripten-build\emsdk-npm\test\emsdk-test\emsdk_env.bat" && cd "D:\projects\emscripten\emscripten-build\emsdk-npm\test\example-build" && ENOENT
at notFoundError (node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 4
npm ERR! [email protected] test: `mocha`
npm ERR! Exit status 4
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\devappd\AppData\Roaming\npm-cache\_logs\2021-08-17T04_44_38_157Z-debug.log