krakenjs / zoid-demo

A clonable demo project for xcomponent
Apache License 2.0
62 stars 66 forks source link

Can't run build #1

Closed MatiMenich closed 6 years ago

MatiMenich commented 6 years ago

Hi, I've just forked this repo (great work btw) and I'm running npm run build after installing everything and im getting the following error:

28 11 2017 17:42:11.819:WARN [reporter]: SourceMap position not found for trace: undefined
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR
  Uncaught ReferenceError: __ALLOW_POSTMESSAGE_POPUP__ is not defined
  at test/test.js:1665

Please help :)

Full output:

> xcomponent-demo@1.0.1 build /Users/matimenich/playground/xcomponent-demo
> npm run test && npm run babel && npm run webpack

> xcomponent-demo@1.0.1 test /Users/matimenich/playground/xcomponent-demo
> npm run lint && npm run flow && npm run karma

> xcomponent-demo@1.0.1 lint /Users/matimenich/playground/xcomponent-demo
> eslint src/ test/ *.js

> xcomponent-demo@1.0.1 flow /Users/matimenich/playground/xcomponent-demo
> flow

No errors!

> xcomponent-demo@1.0.1 karma /Users/matimenich/playground/xcomponent-demo
> cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start

28 11 2017 17:42:11.819:WARN [reporter]: SourceMap position not found for trace: undefined
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR
  Uncaught ReferenceError: __ALLOW_POSTMESSAGE_POPUP__ is not defined
  at test/test.js:1665

HeadlessChrome 0.0.0 (Mac OS X 10.12.6): Executed 0 of 0 ERROR (0.337 secs / 0 secs)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! xcomponent-demo@1.0.1 karma: `cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the xcomponent-demo@1.0.1 karma 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!     /Users/matimenich/.npm/_logs/2017-11-28T20_42_12_045Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! xcomponent-demo@1.0.1 test: `npm run lint && npm run flow && npm run karma`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the xcomponent-demo@1.0.1 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!     /Users/matimenich/.npm/_logs/2017-11-28T20_42_12_087Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! xcomponent-demo@1.0.1 build: `npm run test && npm run babel && npm run webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the xcomponent-demo@1.0.1 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!     /Users/matimenich/.npm/_logs/2017-11-28T20_42_12_123Z-debug.log
bluepnume commented 6 years ago

Good catch! fixed and published.

MatiMenich commented 6 years ago

Great! Thank you 👍