[Bug]: NPM Install Fails
Closed this issue · 0 comments
maxcodefaster commented
Issue description
When installing any version newer than rc.3 installation fails
Version
rc.4 and up
Expected behaviour
Installation should succeed.
Actual behaviour
Fails
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
- Have Macbook Air M1. Maybe issue is also on other architectures.
- Install
npm i @iota/client@latest
Error occures also with
v14.20.0
v16.17.0
v18.12.1
With the rc.3 I get:
Error: Cannot find module '../../build/Release/index.node'
Require stack:
- /Users/.../dist/main.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Function.Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/Users/.../api/node_modules/@iota/client/lib/bindings.ts:7:1)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1061:19)
Errors
2023-03-07T08_42_00_561Z-debug-0.log
Duplicate declaration
- I have searched the issues tracker this issue and there is none
Code of Conduct
- I agree to follow this project's Code of Conduct