Install datatable via bower error in windows 7

Install datatable via bower error in windows 7

cuongnxcuongnx Posts: 2Questions: 1Answers: 0

I install datatable via bower but has error:

Additional error details:
Available versions in https://github.com/DataTables/Dist-DataTables.git: 1.10.13, 1.10.12, 1.10.11, 1.10.10, 1.10.9

System info:
Bower version: 1.8.0
Node version: 6.10.2
OS: Windows_NT 6.1.7601 x64
Git version 2.12.2.windows.2

How to fix it. Thanks

Answers

  • kthorngrenkthorngren Posts: 21,352Questions: 26Answers: 4,955
    edited April 2017

    I'm not familiar with bower installs but you might want to post the error message so that someone might be able to help.

    Kevin

  • cuongnxcuongnx Posts: 2Questions: 1Answers: 0

    $ bower install -V
    bower jquery#^3.2.1 not-cached https://github.com/jquery/jquery-dist.git#^3.2.1
    bower jquery#^3.2.1 resolve https://github.com/jquery/jquery-dist.git#^3.2.1
    bower bootstrap#^3.3.7 not-cached https://github.com/twbs/bootstrap.git#^3.3.7
    bower bootstrap#^3.3.7 resolve https://github.com/twbs/bootstrap.git#^3.3.7
    bower datatables.net#^2.1.1 not-cached https://github.com/DataTables/Dist-DataTables.git#^2.1.1
    bower datatables.net#^2.1.1 resolve https://github.com/DataTables/Dist-DataTables.git#^2.1.1
    bower jquery#^3.2.1 download https://github.com/jquery/jquery-dist/archive/3.2.1.tar.gz
    bower bootstrap#^3.3.7 download https://github.com/twbs/bootstrap/archive/v3.3.7.tar.gz
    bower jquery#^3.2.1 extract archive.tar.gz
    bower jquery#^3.2.1 resolved https://github.com/jquery/jquery-dist.git#3.2.1
    bower bootstrap#^3.3.7 extract archive.tar.gz
    bower bootstrap#^3.3.7 resolved https://github.com/twbs/bootstrap.git#3.3.7
    bower datatables.net#^2.1.1 ENORESTARGET No tag found that was able to satisfy ^2.1.1

    Additional error details:
    Available versions in https://github.com/DataTables/Dist-DataTables.git: 1.10.13, 1.10.12, 1.10.11, 1.10.10, 1.10.9

    Stack trace:
    Error: No tag found that was able to satisfy ^2.1.1
    at createError (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\util\createError.js:4:15)
    at C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\core\resolvers\GitResolver.js:155:23
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    From previous event:
    at GitHubResolver.Resolver.resolve (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\core\resolvers\Resolver.js:83:6)
    at PackageRepository._resolve (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\core\PackageRepository.js:183:21)
    at C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\core\PackageRepository.js:78:29

    Console trace:
    Error
    at StandardRenderer.error (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\renderers\StandardRenderer.js:81:37)
    at Logger.<anonymous> (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\bin\bower.js:110:26)
    at emitOne (events.js:96:13)
    at Logger.emit (events.js:188:7)
    at Logger.emit (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\node_modules\bower-logger\lib\Logger.js:29:39)
    at C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\commands\index.js:48:20
    at _rejected (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\node_modules\q\q.js:844:24)
    at C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\node_modules\q\q.js:870:30
    at Promise.when (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\node_modules\q\q.js:1122:31)
    at Promise.promise.promiseDispatch (C:\Users\XuanCuong\AppData\Roaming\npm\node_modules\bower\lib\node_modules\q\q.js:788:41)
    System info:
    Bower version: 1.8.0
    Node version: 6.10.2

  • allanallan Posts: 63,552Questions: 1Answers: 10,476 Site admin
    edited April 2017

    bower datatables.net#^2.1.1 ENORESTARGET No tag found that was able to satisfy ^2.1.1

    This is a screw up on my part I'm afraid. A tag leaked through resulting in this error - 1.10.13 is the current release.

    I'm going to try and tag and release 1.10.14 today which should hopefully clear this up.

    Allan

This discussion has been closed.