Advertisement
TitanChase

Untitled

Mar 17th, 2021
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. When using the `exports()` function on serverside in the typescript template i receive the following error
  2.  
  3. ```
  4. Error loading script dist/server/2c2352525cac2ab26ee9.server.js in resource bs-apostrophe: TypeError: exports is not a function
  5. stack:
  6. [object Object],[object Object],[object Object],[object Object]
  7. Failed to load script dist/server/2c2352525cac2ab26ee9.server.js.
  8. ```
  9.  
  10. This might be due to exports being a node reserved object
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement