Skip to content

Instantly share code, notes, and snippets.

@CIAvash
Created September 18, 2018 12:10
Show Gist options
  • Save CIAvash/d57ae64fa5c41f82aed0ae3d4ed890ee to your computer and use it in GitHub Desktop.
Save CIAvash/d57ae64fa5c41f82aed0ae3d4ed890ee to your computer and use it in GitHub Desktop.
perl6-parcel-example build error: test.p6: Invalid or unexpected token
test.p6: Invalid or unexpected token
return (("nqp.extraRuntime('perl6', module);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Invalid or unexpected token
at new Script (vm.js:79:7)
at NativeCompileCache._moduleCompile (perl6-parcel-example/node_modules/v8-compile-cache/v8-compile-cache.js:226:18)
at Module._compile (perl6-parcel-example/node_modules/v8-compile-cache/v8-compile-cache.js:172:36)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at Object.op.loadbytecode (perl6-parcel-example/node_modules/nqp-runtime/runtime.js:179:37)
at CodeRef.cuid22 [as $$call] (perl6-parcel-example/node_modules/nqp-js-on-js/ModuleLoader.js:834:19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment