GithubHelp home page GithubHelp logo

Comments (19)

xShirase avatar xShirase commented on July 18, 2024

after a bit of research, it turns out that if I copy the node_modules folder of the working app to the not working one, it runs flawlessly, so it's seems to be an issue with the versions.

adaro 0.1.8 runs, not 0.1.9

from adaro.

aredridel avatar aredridel commented on July 18, 2024

I bet it's not adaro.

Dust 2.7.0 or 2.6.2?

from adaro.

xShirase avatar xShirase commented on July 18, 2024

well played :-)
2.7.4 on npm installing the new folder, 2.6.2 on the old one

from adaro.

aredridel avatar aredridel commented on July 18, 2024

Bingo. adaro does not support dust 2.7, and dust does not follow semver. You want to specify "~2.6.2" not "^2.0.0" or anything like that. You have to lock to minor versions.

from adaro.

xShirase avatar xShirase commented on July 18, 2024

cool, easy fix.
Does that mean the same thing for any new kraken app, as the package.json of krakenJS says :
"dustjs-linkedin": "^2.3.4",

from adaro.

aredridel avatar aredridel commented on July 18, 2024

Yes indeed. I'm still tracking down all the places that gets set.

from adaro.

xShirase avatar xShirase commented on July 18, 2024

that too :
The peer dependency [email protected] - 2.8 included from dustjs-helpers will no longer be automatically installed to fulfill the peerDependency in npm 3+. Your application will need to depend on it explicitly.

from adaro.

aredridel avatar aredridel commented on July 18, 2024

Correct: your app must declare the dependency on dustjs-linkedin, not relying on loading the helpers to do it.

from adaro.

xShirase avatar xShirase commented on July 18, 2024

I have :
"dustjs-helpers": "^1.2.0", "dustjs-linkedin": "~2.6.2",

but npm says :
Peer [email protected] wants [email protected] - 2.8

from adaro.

xShirase avatar xShirase commented on July 18, 2024

I manually changed the packages to make it work, but that probably needs to be adressed higher in the "grand scheme of things"

from adaro.

aredridel avatar aredridel commented on July 18, 2024

Same thing with dustjs-helpers: You specified version 1.7.0 via "^1.2.0", but it doesn't follow semver. Try "~1.6.0".

from adaro.

xShirase avatar xShirase commented on July 18, 2024

installs, builds, and runs ok.
Thanks for your help, fast and efficient as usual

from adaro.

aredridel avatar aredridel commented on July 18, 2024

Sure thing! How'd you generate your app, by the way? generator-kraken should use ~ versions as far as I'm aware.

from adaro.

xShirase avatar xShirase commented on July 18, 2024

I used generator kraken, but it was a while ago, now the app has evolved a lot, i'm just cloning my repo.
However, the versions in the package.js have to have been auto-generated, I didn't write that.
I'll do a quick test with a fresh generator app, back to you in a minute

from adaro.

aredridel avatar aredridel commented on July 18, 2024

Cool! Was just doing the same.

from adaro.

aredridel avatar aredridel commented on July 18, 2024

Looks like it generates ^ despite internally requesting ~.

from adaro.

xShirase avatar xShirase commented on July 18, 2024

it generates :
"dustjs-helpers": "^1.2.0", "dustjs-linkedin": "^2.3.6",

from adaro.

aredridel avatar aredridel commented on July 18, 2024

#65 should help address this.

from adaro.

aredridel avatar aredridel commented on July 18, 2024

And krakenjs/generator-kraken#163 is the generator issue.

from adaro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.