meetalva / alva

Create living prototypes with code components.
https://meetalva.io
MIT License
3.73k stars 224 forks source link

ENOENT when trying to use uikit-react npm package #876

Open itgenie98 opened 3 years ago

itgenie98 commented 3 years ago

Hey there, I just encountered the following error with Alva:

ENOENT: no such file or directory, open 'C:\Users\<username>\AppData\Local\Temp\alva\packages\uikit-react@3.0.20\node_modules\uikit-react\lib\uikit-react.d.ts'
Stack Trace ``` Error: ENOENT: no such file or directory, open 'C:\Users\\AppData\Local\Temp\alva\packages\uikit-react@3.0.20\node_modules\uikit-react\lib\uikit-react.d.ts' at Object.openSync (fs.js:436:3) at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:160:31) at Object.readFileSync (fs.js:341:35) at Object.fs.readFileSync (ELECTRON_ASAR.js:580:40) at Function.module.exports.precinct.paperwork (D:\Program Files\Alva Canary\resources\app.asar\index.js:73486:20) at getImportsFromPath (D:\Program Files\Alva Canary\resources\app.asar\index.js:206320:10) at findPatternCandidates (D:\Program Files\Alva Canary\resources\app.asar\index.js:206294:30) at analyzePatterns (D:\Program Files\Alva Canary\resources\app.asar\index.js:206160:37) at Object.analyze (D:\Program Files\Alva Canary\resources\app.asar\index.js:206113:32) ```

Link to the used npm package: https://www.npmjs.com/package/uikit-react