noc-book-2
noc-book-2 copied to clipboard
magicbook stylesheet error with node 17.3.0
trafficstars
When I run magicbook build I get the following error:
Required file: stylesheets cannot be found
Cannot register permalinks . stylesheets:insert not found
Cannot register katex:setup . stylesheets:move not found
Error: Cannot find module '/Users/shiffman/Repos/noc/noc-notion/node_modules/stylesheets'
It appears to be looking for the stylesheets in node_modules rather than in the root directory of the repo (where they are!)?
@jasongao97 @43-stuti do you also get this error or is this something perhaps related to my own local set-up?
Ah, never mind, I forgot this is a node version issue. When I revert to an earlier version of node, it builds!

I'll leave this open in case we want to investigate this at some point but I'm assuming this is something to sort out in the magic book repos?
Good to go with the new build process!