Closed KaanMol closed 1 year ago
What version of nx are you using?
NX version 15.7.1, Node.JS 18.12.1 and exists also on Node.JS 19.3
Ah ok. I know what's up. Thank you!
NX version 15.7.1, Node.JS 18.12.1 and exists also on Node.JS 19.3
if you need it urgently, you can update the module in node_modules\@monodon\rust\package.json "@nrwl/devkit": "15.3.0" to "@nrwl/devkit": "15.7.2"
that work to me
{
"name": "@monodon/rust",
"version": "1.0.0",
"main": "src/index.js",
"repository": {
"url": "https://github.com/cammisuli/monodon",
"type": "git"
},
"license": "MIT",
"private": false,
"generators": "./generators.json",
"executors": "./executors.json",
"dependencies": {
"@nrwl/devkit": "15.7.2", <----
"@ltd/j-toml": "1.24.0",
"chalk": "4.1.2"
},
"types": "./src/index.d.ts",
"peerDependencies": {}
Yea, package managers have a way to override packages dependencies. So you can give that a shot.
I'm waiting for Nx 15.8.0 to come out before releasing a new version for this package.
Hi Cammisuli,
I want to thank you first of all for this project, it is exactly what I was searching for and the only thing I was missing in NX!
Description
When generating a new library or binary with the example command:
nx generate @monodon/rust:library my-rust-node-lib --napi
or the VSCode generation UI in the NX plugin the same error is returned.Device
Macbook Pro 2021 - M1 Pro MacOS Ventura 13.0
Error
Of course if you need any more info, I am glad to help!