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

Fixed: Warning: flatten is not a function Use --force to continue. #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fixiecoder
Copy link

The reason for this version change is due to how a sub-sub-dependency has changed.

resolve-dep: 0.5.3 has a has a dependency of arrayify-compact which in turn has a dependency on arrayify-compact: ^0.1.0 which in turn has a dependency on array-flatten: >= 0.0.2.

array-flatten published a new major version today breaking our build.

resolve-dep: 0.6.0 has a dependency of arrayify-compact: ^0.2.0 which in turn has a dependency on arr-flatten: ^1.0.1 which solves the build issue I was getting.

@elliotabsurd
Copy link

I manually did this fix and can confirm it works. Is there any sign of it getting merged into master?

weakish added a commit to weakish/docs that referenced this pull request Nov 26, 2019
via `npm audit`

specify `assemble` as `grunt-assemble#67` to fix build error
caused by array-flatten dependecies issue.

assemble/grunt-assemble#67
@f1sh1918
Copy link

Hi all,
if you still have problems you could use shrinkwrap to solve problems with nested dependencies.
https://docs.npmjs.com/cli/shrinkwrap
example: npm-shrinkwrap.json
{ "dependencies": { "grunt-assemble": { "version": "0.6.3", "from": "[email protected]", "dependencies": { "resolve-dep": { "version": "0.6.0", "from": "[email protected]" } } } } }

put it into your root folder. gonna be executed within npm install!

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.

None yet

3 participants