Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

No external library will connect to Alva Canary #869

Open
ElfLoftPigeons opened this issue Apr 24, 2021 · 0 comments
Open

No external library will connect to Alva Canary #869

ElfLoftPigeons opened this issue Apr 24, 2021 · 0 comments

Comments

@ElfLoftPigeons
Copy link

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

ENOENT: no such file or directory, open 'C:\Users\wulfy\AppData\Local\Temp\alva\packages\@ui-kitten\[email protected]\node_modules\@ui-kitten\template-ts\index.d.ts'
Stack Trace
Error: ENOENT: no such file or directory, open 'C:\Users\wulfy\AppData\Local\Temp\alva\packages\@ui-kitten\[email protected]\node_modules\@ui-kitten\template-ts\index.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 (C:\Program Files\Alva Canary\resources\app.asar\index.js:73486:20)
    at getImportsFromPath (C:\Program Files\Alva Canary\resources\app.asar\index.js:206320:10)
    at findPatternCandidates (C:\Program Files\Alva Canary\resources\app.asar\index.js:206294:30)
    at analyzePatterns (C:\Program Files\Alva Canary\resources\app.asar\index.js:206160:37)
    at Object.analyze (C:\Program Files\Alva Canary\resources\app.asar\index.js:206113:32)

This has happened with every library I have tried to install, whether through the npm installer or by local package.json file. ui-kitten I tried to install by npm.
Others I have tried and have failed:

ant-design-mobile
argon-design-system-react-master
belle
chakra-ui
galio
grommet
primereact
react-bootstrap
rsuite
shards-react
theme-ui

For instance, when trying to upload shards-react with local upload by package.json, I get the same problem. Every UI I've tried has been deemed incompatible. Am I doing something wrong? Here is the error report for shards-react:

ENOENT: no such file or directory, open 'C:\Users\wulfy\Documents\GitHub\shards-react\dist\shards-react.common.d.ts'


<details><summary>Stack Trace</summary>

Error: ENOENT: no such file or directory, open 'C:\Users\wulfy\Documents\GitHub\shards-react\dist\shards-react.common.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 (C:\Program Files\Alva Canary\resources\app.asar\index.js:73486:20)
at getImportsFromPath (C:\Program Files\Alva Canary\resources\app.asar\index.js:206320:10)
at findPatternCandidates (C:\Program Files\Alva Canary\resources\app.asar\index.js:206294:30)
at analyzePatterns (C:\Program Files\Alva Canary\resources\app.asar\index.js:206160:37)
at Object.analyze (C:\Program Files\Alva Canary\resources\app.asar\index.js:206113:32)


</details>

Let me know if there is a fix, please? I can't figure out what's going on. I also noticed that on the second loading of the Alva app to try again the pre-included libraries I had downloaded the first time had not remained installed and I had to add them again. Not sure if that's related. 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant