You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I tried to build your JS code using the npm command that I found on your Wiki page, but I got a small error because of the import ava module and the utils.js file
>[email protected]test> ava
Uncaught exception in src/test/js/utils.test.js
SyntaxError: Cannot use import statement outside a module
✖ src/test/js/utils.test.js exited with a non-zero exit code: 1
─
One uncaught exception
FAILURE: Build failed with an exception.
you should change the import command from import test from ava to const test = require('ava')
best regards
Khaled
The text was updated successfully, but these errors were encountered:
Hello, I tried to build your JS code using the
npm
command that I found on your Wiki page, but I got a small error because of the importava
module and the utils.js fileyou should change the import command from
import test from ava
toconst test = require('ava')
best regards
Khaled
The text was updated successfully, but these errors were encountered: