Hi Dylan,
Since your Node.js version is v20.9.0 and npm version is 10.1.0, you are using appropriate versions. However, if the node_modules/@needle-tools/engine
directory doesn’t exist after trying to import, it indicates that the package did not install properly.
-
Manually Create Directory: As a workaround, you can manually create the
node_modules/@needle-tools/engine
directory. Do this by running:mkdir -p node_modules/@needle-tools/engine
-
Install via npm: After creating the directory, navigate to your Unity project root in the terminal and run:
npm install @needle-tools/engine
-
Check Unity Package Manager: Ensure that any package manager settings in Unity are not blocking the installation. Go to
Edit > Project Settings > Package Manager
, and verify that you have access to remote packages (see index). -
Empty Unity Cache: Sometimes, Unity caches might interfere with installations. Navigate to:
- Windows:
C:\Users\<YourUserName>\AppData\Local\Unity\cache
- macOS:
~/Library/Unity/cache
And clear any relevant cache files, then restart Unity.
- Windows:
-
Use a Different Project: If the above steps still yield no success, try creating a new Unity project and attempt the import again.
Give these actions a try and let me know how it works out!
0 replies left
thread_a98XR0OAaqQKzLKajjyNcLZW
Reply to this message to continue the conversation