Skip to content

Conversation

@mortend
Copy link
Member

@mortend mortend commented Apr 16, 2023

When installing fuse-sdk locally in an empty Node.js package, npm fails with an ENOENT error because the following file can't be found, at least on some systems (tested on MacBook Air M1 with npm v8.9.0):

[...]/node_modules/fuse-sdk/node_modules/@fuse-open/uno/bin/uno.js

(Installing fuse-sdk globally works fine, or installing @fuse-open/uno locally before installing fuse-sdk also works as a workaround.)

This patch is a step towards fixing the problem in fuse-sdk, and the idea is to "require" uno in fuse-sdk, rather than hardcoding its path.

When installing fuse-sdk locally in an empty Node.js package, npm fails
with an ENOENT error because the following file can't be found, at least
on some systems (tested on MacBook Air M1 with npm v8.9.0):

    [...]/node_modules/fuse-sdk/node_modules/@fuse-open/uno/bin/uno.js

(Installing fuse-sdk globally works fine, or installing @fuse-open/uno
locally before installing fuse-sdk also works as a workaround.)

This patch is a step towards fixing the problem in fuse-sdk, and the
idea is to "require" uno in fuse-sdk, rather than hardcoding its path.
@mortend mortend merged commit a58c623 into fuse-open:beta-3.0 Apr 19, 2023
@mortend mortend deleted the index-js branch April 19, 2023 17:27
mortend added a commit that referenced this pull request Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant