Skip to content
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

Module parse failed: Unexpected token #36

Open
Szegerege12 opened this issue Aug 30, 2021 · 0 comments
Open

Module parse failed: Unexpected token #36

Szegerege12 opened this issue Aug 30, 2021 · 0 comments

Comments

@Szegerege12
Copy link

Szegerege12 commented Aug 30, 2021

Hello. Running this plugin even in new project created by gatsby init throws an error when i try send message:

Module parse failed: Unexpected token (4:13) 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 | import { WebClient } from "@slack/web-api" | > let channelID: string = process.env.CHANNEL_ID | let token: string = process.env.SLACK_TOKEN |

Is there any way to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant