-
-
Notifications
You must be signed in to change notification settings - Fork 179
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 Export in Angular App #54
Comments
@wrobe0709 Thanks for reporting, I will look in to it (in future). |
Hi, I'm using create react app and face a similar issue:
I'm kind of convinced that I followed the appropriate setup steps, but it seems that we can't use es6 modules this way. |
Same here. |
For me, the solution was to go into i.e. in const loadingSpinner = '.lds-spinner';
export const pageElements = {
loadingSpinner,
}; became const loadingSpinner = '.lds-spinner';
module.exports.pageElements = {
loadingSpinner,
}; I'll be happy to submit a PR if you accept contributions @drptbl |
@tochman Sure, happy to get some help 🎉. If you won't have time to do it, I will try to do it myself over weekend. Cheers, |
@wrobe0709 @tochman This one should be already fixed. Please ping me if not. Cheers! |
Hi - I'm working on getting synpress setup within an Angular app and getting this error:
If I edit the file to use
module.exports
instead ofexport const
then I can get things working. Any tips on how I can setup my environment to work without going into synpress and editing the files? Thanks!The text was updated successfully, but these errors were encountered: