noc-book-2 icon indicating copy to clipboard operation
noc-book-2 copied to clipboard

magicbook stylesheet error with node 17.3.0

Open shiffman opened this issue 3 years ago • 1 comments
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?

shiffman avatar Apr 29 '22 14:04 shiffman

Ah, never mind, I forgot this is a node version issue. When I revert to an earlier version of node, it builds!

Screen Shot 2022-04-29 at 11 38 33 AM

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?

shiffman avatar Apr 29 '22 15:04 shiffman

Good to go with the new build process!

shiffman avatar Feb 11 '23 18:02 shiffman