Reputation: 1604
I'm implementing node-casbin in my project. I tried importing everything into my project using the code below.
import * as casbin from 'casbin';
When I save my Node.js server crashes with the error below.
import * as casbin from 'casbin';
^
SyntaxError: Unexpected token *
Upvotes: 1
Views: 384