Nova Tool Not Building During Creation #3744
-
Hi there. I'm using; Laravel: 8.12 When creating a new Tool for Nova the NPM build always fails. The assets can't be complied, but composer does run successfully. There are around 40 deprecation warnings for NPM, but a major error, which looks to be a node-sass issue, prevents the bulid from completing. Log is below. I've replaced the project paths with
Any suggestions for where I am going wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
As mentioned in the documentation, use Node 14. Node 16 support will only be available for the upcoming Nova 4. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply @crynobone. I can't see anything in the docs i linked to (above) about node version support. I see now it is listed on the requirements page. I switched to node 14, deleted the tool's node_modules folder, and ran the artisan create command again, but got much the same result. I did install the peer dependency, but it only removed the WARN below. Please forgive my ignorance, i am realtively new to npm.
|
Beta Was this translation helpful? Give feedback.
As mentioned in the documentation, use Node 14. Node 16 support will only be available for the upcoming Nova 4.