NEWS

[gelöst] kann Javascript Engine nicht aktualisieren



  • hallo,
    ich versuche gerade mein Javascript im iobroker zu aktualisieren. Dabei bekomme ich folgende Ausgabe:

    $ ./iobroker upgrade javascript
    Update javascript from @4.1.12 to @4.6.17
    NPM version: 6.14.6
    npm install iobroker.javascript@4.6.17 --loglevel error --prefix "/opt/iobroker" (System call)
    npm ERR! code EEXISTnpm ERR! path /opt/iobroker/node_modules/.bin/tsc
    npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/tsc: ../typescript/bin/tsc symlink target is not controlled by npm /opt/iobroker/node_modules/typescriptnpm ERR! File exists: /opt/iobroker/node_modules/.bin/tscnpm ERR! Remove the existing file and try again, or run npmnpm ERR! with --force to overwrite files recklessly.
    npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-08-21T14_43_10_018Z-debug.log
    Update "system.adapter.javascript.0"
    upload [100] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/razor/razor.js vs/basic-languages/razor/razor.js application/javascript
    upload [90] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/msdax/msdax.js vs/basic-languages/msdax/msdax.js application/javascript
    upload [80] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/dockerfile/dockerfile.js vs/basic-languages/dockerfile/dockerfile.js application/javascript
    upload [70] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/media/copy-content.770c7d5d.svg static/media/copy-content.770c7d5d.svg image/svg+xml
    upload [60] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/precache-manifest.68a37fe5e8409a21f3d258bd02bf8680.js precache-manifest.68a37fe5e8409a21f3d258bd02bf8680.js application/javascript
    upload [50] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/msg/fr.js google-blockly/own/msg/fr.js application/javascript
    upload [40] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_time.js google-blockly/own/blocks_time.js application/javascript
    upload [30] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/msg/js/pl.js google-blockly/msg/js/pl.js application/javascript
    upload [20] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/quote0.png google-blockly/media/quote0.png image/png
    upload [19] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handopen.cur google-blockly/media/handopen.cur null
    upload [18] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handdelete.cur google-blockly/media/handdelete.cur null
    upload [17] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handclosed.cur google-blockly/media/handclosed.cur null
    upload [16] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.wav google-blockly/media/disconnect.wav audio/wav
    upload [15] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.ogg google-blockly/media/disconnect.ogg audio/ogg
    upload [14] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.mp3 google-blockly/media/disconnect.mp3 audio/mpeg
    upload [13] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.wav google-blockly/media/delete.wav audio/wav
    upload [12] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.ogg google-blockly/media/delete.ogg audio/ogg
    upload [11] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.mp3 google-blockly/media/delete.mp3 audio/mpeg
    upload [10] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.wav google-blockly/media/click.wav audio/wav
    upload [9] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.ogg google-blockly/media/click.ogg audio/ogg
    upload [8] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.mp3 google-blockly/media/click.mp3 audio/mpeg
    upload [7] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/1x1.gif google-blockly/media/1x1.gif image/gif
    upload [6] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/javascript_compressed.js google-blockly/javascript_compressed.js application/javascript
    upload [5] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blocks_compressed.js google-blockly/blocks_compressed.js application/javascript
    upload [4] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blockly_compressed.js google-blockly/blockly_compressed.js application/javascript
    upload [3] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/LICENSE google-blockly/LICENSE null
    upload [2] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
    upload [1] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/asset-manifest.json asset-manifest.json application/json
    upload [0] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript
    Adapter "javascript" updated
    process exited with code 0
    

    kann mir jemand weiterhelfen?
    Den kompletten log habe ich mal angefügt.
    2020-08-21T14_43_10_018Z-debug.log


  • Developer

    @keinstein77 Irgendwas ist da richtig komisch. Manuell sollte es gehen:

    cd /opt/iobroker
    npm install iobroker.javascript@4.6.17 --force
    iobroker upload javascript
    


  • @keinstein77

    File exists: /opt/iobroker/node_modules/.bin/tscnpm ERR! Remove the existing file

    iobroker stop
    sudo mv /opt/iobroker/node_modules/.bin/* /home/pi/
    iobroker start
    iobroker update
    iobroker upgrade
    


  • @AlCalzone sagte in kann Javascript Engine nicht aktualisieren:

    Irgendwas ist da richtig komisch.

    ja das hier ... eine frühere installation in

    /.bin/
    


  • @Glasfaser

    hat super funktioniert DANKE!!



  • @keinstein77 sagte in kann Javascript Engine nicht aktualisieren:

    hat super funktioniert DANKE!!

    sehr gerne 😉

    dann setze das Thema auf gelöst .


Log in to reply
 

Suggested Topics

1.7k
Online

32.4k
Users

39.0k
Topics

528.7k
Posts