Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: apply miscellaneous updates #42

Merged
merged 3 commits into from
Feb 13, 2020
Merged

docs: apply miscellaneous updates #42

merged 3 commits into from
Feb 13, 2020

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Feb 13, 2020

Just updates made while testing prior to release.

Two days in a row now I've had trouble building the
frontend-editor-ckeditor-web module in liferay-portal after a `yarn
add`. Yesterday it was freaking out with:

```
> Ambiguous method overloading for method java.io.File#<init>.
  Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
        [class java.lang.String, class java.lang.String]
        [class java.io.File, class java.lang.String]
```

caused by `packageRunBuild.destinationDir` in the build.gradle file
somehow being `null`.

Today, it's:

```
Error: ENOENT: no such file or directory, open 'node_modules/liferay-ckeditor/package.json'
    at Object.openSync (fs.js:439:3)
 ```

Yet, when I inspect the `node_modules` folder everything is golden.

In both cases, things work fine when I do then manual `cp -R` instead of
the `yarn add`. Whatever the cause, may as well document the workaround.
We're using Yarn on 7.1.x now too. Only 7.0.x hasn't gotten with the
program yet.
@wincent
Copy link
Contributor Author

wincent commented Feb 13, 2020

As it's just doc updates and I've proof-read them, going to merge. Can apply follow-ups later if any feedback comes in.

@wincent wincent merged commit dd5f644 into master Feb 13, 2020
@wincent wincent deleted the wincent/doc-updates branch February 13, 2020 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant