-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected token; when import phaser-navmesh #46
Comments
Hi @wristork, can you share a link to a minimal project setup where this error occurs? |
I'm sorry to be late with the reply. Project: https://github.com/wristork/phaser-navmesh-test. Just webpack template from here https://github.com/photonstorm/phaser3-project-template |
@wristork the link does not work. I am having similar issues and have reproduced the problem here: any help would be greatly appreciated. |
I'm also running into this issue and couldn't find any solutions. I'm not used to managing my project via npm, but I compared my packages to the examples and it doesn't appear I'm missing any dependencies or anything. I haven't actually included any code yet. I've also created a temporary repository for this, but I don't want to keep it up too long. https://github.com/kirabook/temporary-1 (Also, though this is probably a different issue, I'm also running into an error when trying to use the non-npm version.) |
Hi, |
I'm having the problem @hendrikras mentioned as well. @plepers Can you describe, how you built the libaries yourself? |
Hi, I am also having this issue with the latest version. error - ./node_modules/phaser-navmesh/dist/phaser-navmesh-plugin.js 1:4581 I have tried installing a typescript and javascript project. Any help would be much appreciated. Thanks, BN |
@brodynelson
|
Hi, I'm can't import package phaser-navmesh. I not cool expert, more information then error text from console I cannot offer.
ERROR in ./src/js/phaser-navmesh-plugin.js 1:16670
Module parse failed: Unexpected token (1:16670)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders ...FILE CODE...
Trying work with just navmesh, not for phaser, it work correcntly.
The text was updated successfully, but these errors were encountered: