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

I can't use prism 1.6.0 because BOWEL want to use 1.0.1 version only. #29

Closed
SergeyKhodussov opened this issue Jan 26, 2017 · 7 comments
Labels
Milestone

Comments

@SergeyKhodussov
Copy link

Could you fix bower.json? I can't use prism 1.6.0 because BOWEL want to use 1.0.1 version only:

bower - ECONFLICT Unable to find suitable version for prism

"dependencies": {
    "prism": "~1.0.1"
  },
@AndreYonadam
Copy link
Contributor

I think the bower.json file should use resolutions.

@AndreYonadam
Copy link
Contributor

Can you actually try to use this instead in the json file:
https://gist.github.com/AndreYonadam/1ef8a93ee4dbfd922083e1d59ff88260

@SergeyKhodussov
Copy link
Author

I think you should set required version like this:

  "dependencies": {
    "jquery": ">=1.7.1"
  },

for example - https://github.com/uxsolutions/bootstrap-datepicker/blob/master/bower.json

@SergeyKhodussov
Copy link
Author

Nevertheless, I tried your option - did not help.

@AndreYonadam
Copy link
Contributor

Interesting. I think @kazzkiq might be able to help out here since I'm not that used to BOWEL. I tried Google'ing the issue and there are quite a lot of results, just not about "prism" specifically.

@SergeyKhodussov
Copy link
Author

SergeyKhodussov commented Jan 26, 2017

I tried to use this variation and it helped me:

{
  "name": "codeflask.js",
  "version": "0.2.0",
  "homepage": "http://kazzkiq.github.io/CodeFlask.js/",
  "repository": {
    "type": "git",
    "url": "git://github.com/kazzkiq/CodeFlask.js"
  },
  "authors": [
    "Claudio Holanda"
  ],
  "dependencies": {
    "prism": ">=1.0.1"
  },
  "description": "A micro code-editor for awesome web pages.",
  "main": [
    "src/codeflask.js",
    "src/codeflask.css"
  ],
  "keywords": [
    "code-editor",
    "plugin",
    "syntax-highlight"
  ],
  "license": "MIT",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "_release": "0.2.0",
  "_resolution": {
    "type": "version",
    "tag": "v0.2.0",
    "commit": "38ca9fb047d047a8ccbec78908057f11249d851e"
  },
  "_source": "https://github.com/kazzkiq/CodeFlask.js.git",
  "_target": "0.2.0",
  "_originalSource": "codeflask"
}

@AndreYonadam
Copy link
Contributor

@SergeyKhodussov Thanks for sharing that. I'm sure someone else can make use of it!

@kazzkiq kazzkiq added this to the v0.3.0 milestone Mar 23, 2017
@kazzkiq kazzkiq added the bug label Mar 23, 2017
@kazzkiq kazzkiq closed this as completed May 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants