EddyVerbruggen / EddyVerbruggen/nativescript-nodeify

Getting an error related to __dirname

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
93
Forks
27
PR merge metrics
No merged PRs in 30d

Description

I am having an issue trying to run the demo `npm run demo.ios`. I am getting a lot of `Cycle link found.` errors. It may be related to the version of node.js or npm.

I was going to patch it to work but I need some clarification first.

It seems that `__dirname` in `patch-npm-packages` is actually the working directory (instead of the directory that the script resides in). However, it is unclear what you assumed that `__dirname` would be when you authored the script. For instance, which directory were you trying to load here?

```
getPackageJsons(path.join(__dirname, ".."));
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.