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

get-object-path issues + proposal #157

Closed
dhritzkiv opened this issue Mar 24, 2016 · 6 comments
Closed

get-object-path issues + proposal #157

dhritzkiv opened this issue Mar 24, 2016 · 6 comments

Comments

@dhritzkiv
Copy link
Member

Seems that some of my modules rely on ampersand-view@v8.*. However, this version of ampersand-view relies on get-object-path@v0.0.2 (which was unpublished). Any chance for a "maintenance/patch" release (v8.0.2) of ampersand-view that depends on get-object-path that was republished as v0.0.3?

Not sure if that'll fix install woes.

@dhritzkiv dhritzkiv changed the title get-object-path issues get-object-path issues + proposal Mar 24, 2016
@KayBeSee
Copy link

Glad someone else is also experiencing this issue.

I'm trying to deploy on Modulus and it is giving me an error about get-object-path as well because of Ampersand-View. Does anyone know a work around for this?

@dhritzkiv
Copy link
Member Author

I managed to get them installing by:

  • rm -rf node_modules
  • npm install --save ampersand-X@latest
    • where X is the ampersand module name
    • I ran this manually, one-by-one for each ampersand module in my package.json
  • npm install
    • to retrieve the other, non-ampersand modules

Not sure why trying to npm install --save ampersand-X@latest ampersand-Y@latest ampersand-Z@latest ... didn't work.

YMMV, @KayBeSee

@cdaringe
Copy link
Member

@dhritzkiv, if you want to stage a patched 8.x version, i'd be happy to publish it

@cdaringe
Copy link
Member

However, this version of ampersand-view relies on get-object-path@v0.0.2 (which was unpublished)

FTR, the current version (even at the time of issue filing) uses lodash.get

@dhritzkiv
Copy link
Member Author

However, this version of ampersand-view relies on get-object-path@v0.0.2 (which was unpublished)

FTR, the current version (even at the time of issue filing) uses lodash.get

Yep. However, non-official ampersand modules may be stuck on ampersand-view < v8.0, and won't install properly (as get-object-path fails)

But I'm now rethinking the efficacy of creating and publishing a patched version of v8, as the majority of 3rd-party ampersand modules may be using versions older than 8: v7, v6, etc. A patch for v8 wouldn't address those versions.

I don't believe there's a way to completely and gracefully recover from the npm module liberation situation. Best to just move on.

@cdaringe
Copy link
Member

@dhritzkiv, good point, i didn't consider that!

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

No branches or pull requests

3 participants