Closed cssxn closed 7 years ago
What is it if its not a constructor?
console.log it
Was there a solution to this? I am running into the same issue.
This works: import Alt from 'alt/lib' var alt = new Alt(); module.exports = alt;
@maxcc0 it worked for me, thanks!
If someone can update the docs on npmjs.com,
https://www.npmjs.com/package/alt
Replace import Alt from 'alt'
by import Alt from 'alt/lib'
, that would save people time :p
who can help me! I got this error. @goatslacker
these are my code and
package.json
. This error that I tought it's about webpack'preset to es5.alt
actions
store
component
package.json