Release v0.17.0 large amount of warnings

17 views
Skip to first unread message

Val

unread,
Jun 20, 2018, 5:39:58 AM6/20/18
to excaliburjs
Hi,

I've upgraded from v0.16.0 to v0.17.0 and it seems like there's a warning for every Excalibur file now. Everything seems to work though.
Warning message is always the same:
WARNING in ./~/excalibur/dist/Traits/TileMapCollisionDetection.js
(Emitted value instead of an instance of Error) Cannot find source file '../../../src/engine/Traits/TileMapCollisionDetection.ts': Error: Can't resolve '../../../src/engine/Traits/TileMapCollisionDetection.ts' in 'E:\Repos\webstackgame\JS\BgClient\node_modules\excalibur\dist\Traits'
 @ ./~/excalibur/dist/Traits/Index.js 4:0-44
 @ ./~/excalibur/dist/index.js
 @ ./src/GameEngine.ts
 @ ./src/GameManager.ts
 @ ./src/index.tsx


-Valentyn
Message has been deleted

Val

unread,
Jun 20, 2018, 5:59:43 AM6/20/18
to excaliburjs
Also there's something with API documentation for 0.17.0.

-Valentyn

Erik Onarheim

unread,
Jun 20, 2018, 10:05:50 AM6/20/18
to excaliburjs
Hi Val,

That is odd, would you mind sending me your repo (privately) to take a look? My gh id is @eonarheim

We may need to release a patch to fix any odd build behavior.

Thanks,
Erik

Erik Onarheim

unread,
Jun 20, 2018, 10:07:38 AM6/20/18
to excaliburjs
Hi Val,

Thanks for the heads up, we are aware of this. The latest docs should still work and will be the same as 0.17.0 for now, no new commits have hit master since this weekend.

Thanks,
Erik

Kamran Ayub

unread,
Jun 20, 2018, 8:01:57 PM6/20/18
to Erik Onarheim, excaliburjs
That error happens with webpack but it's a warning from source-map-loader. We can investigate how to support that properly. You can workaround it by adding exclude to the loader and having the full path to the node modules folder.

exclude: [path.join(__dirname, "node_modules", "excalibur")]

relative to webpack location, this assumes same path as package.json

--
You received this message because you are subscribed to the Google Groups "excaliburjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to excaliburjs...@googlegroups.com.
To post to this group, send email to excal...@googlegroups.com.
Visit this group at https://groups.google.com/group/excaliburjs.
To view this discussion on the web visit https://groups.google.com/d/msgid/excaliburjs/bb21df62-5747-4de7-9f07-4d4c26e697cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Val

unread,
Jun 21, 2018, 11:03:34 AM6/21/18
to excaliburjs
Thanks, I'll try your workaround.

Op donderdag 21 juni 2018 02:01:57 UTC+2 schreef Kamran Ayub:
Reply all
Reply to author
Forward
0 new messages