[solved] Build failing when using ecmascript package

Hi all,

I am trying to use ecmascript package but as soon as i add package and run build, the build fails with below error

i have spent good amount of time and i am out of clue what might be the issue.

The error happens in modules package seems, I see modules is a dependency in my meteor package versions file.

Please help,

Hey @sureshyennific, can you please provide more info:

meteor --version
cat .meteor/packages

the root cause by reading the message alone is hard to determine.

Hi @jkuester , thanks in advance for giving your time

Pls find the requested info in the image

hey, issue is now fixed for me,

it was caused because i include .mjs files also as part of my build process, when i updated my meteorignore file to exclude .mjs , the error went away.

thanks for you time @jkuester

1 Like