You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\Downloads\webcrypto-liner-master (8)\webcrypto-liner-master>npm run build
> webcrypto-liner@1.1.2 build D:\Downloads\webcrypto-liner-master (8)\webcrypto-liner-master
> rollup -csrc/lib.ts → build/index.js, build/index.es.js...[!] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)src\init.ts (3:28)1: import { nativeSubtle } from "./native";2:3: function WrapFunction(subtle: any, name: string) { ^4: const fn = subtle[name];5: // tslint:disable-next-line:only-arrow-functionsError: Unexpected token (Note that you need plugins to import files that are not JavaScript) at error (D:\Downloads\webcrypto-liner-master (8)\webcrypto-liner-master\node_modules\rollup\dist\rollup.js:5365:30) at Module.error (D:\Downloads\webcrypto-liner-master (8)\webcrypto-liner-master\node_modules\rollup\dist\rollup.js:9708:9) at tryParse (D:\Downloads\webcrypto-liner-master (8)\webcrypto-liner-master\node_modules\rollup\dist\rollup.js:9617:16) at Module.setSource (D:\Downloads\webcrypto-liner-master (8)\webcrypto-liner-master\node_modules\rollup\dist\rollup.js:9935:33) at Promise.resolve.catch.then.then.then (D:\Downloads\webcrypto-liner-master (8)\webcrypto-liner-master\node_modules\rollup\dist\rollup.js:12205:20)npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! webcrypto-liner@1.1.2 build: `rollup -c`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the webcrypto-liner@1.1.2 build 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\y-str\AppData\Roaming\npm-cache\_logs\2020-01-04T10_21_13_366Z-debug.log
And I do recommend to make a real build checking on TravisCI: even if there is a badge build: passed at the moment TravisCI does not check build, only coverage.
The text was updated successfully, but these errors were encountered:
On Windows 10, fresh copy from GitHub:
And I do recommend to make a real build checking on TravisCI: even if there is a badge
build: passed
at the moment TravisCI does not check build, only coverage.The text was updated successfully, but these errors were encountered: