Testing the v0.86 upgrade on my test box, I am seeing quite a few Node errors upon running upgrade/finish that I’m not quite sure how to resolve.
%% Redeploying web portal. This may take a couple minutes. You'll see a message when it's done.
%% Web portal deployed: npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/ember-copy
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/get-caller-file
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/invert-kv
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/js-levenshtein
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/lcid
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/object.getownpropertydescriptors
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/optimist/node_modules/minimist
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/optimist
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/os-locale
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/require-main-filename
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/sass-graph/node_modules/camelcase
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/sass-graph/node_modules/is-fullwidth-code-point
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/sass-graph/node_modules/string-width
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/sass-graph/node_modules/which-module
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/sass-graph/node_modules/yargs-parser
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/tar/node_modules/fstream
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/@sindresorhus/is
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/ansi-regex
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/camelcase
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/cli-boxes
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/get-stream
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/http-cache-semantics
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/is-npm
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/normalize-url
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/cacheable-request
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/p-cancelable
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/got
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/registry-auth-token
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/registry-url
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/semver
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/package-json
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/latest-version
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/strip-ansi
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/string-width
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/ansi-align
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/boxen
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/util.promisify/node_modules/has-symbols
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/util.promisify
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/whatwg-fetch
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/ember-simple-auth/node_modules/ember-fetch
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/wrap-ansi/node_modules/string-width
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/wrap-ansi
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/sass-graph/node_modules/cliui
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/xregexp
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/ember-template-lint/node_modules/decamelize
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/y18n
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/sass-graph/node_modules/yargs
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/optimist/node_modules
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/tar/node_modules
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/update-notifier/node_modules/@sindresorhus
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/util.promisify/node_modules
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/ember-simple-auth/node_modules
npm WARN checkPermissions Missing write access to /home/ares/ares-webportal/node_modules/wrap-ansi/node_modules
npm ERR! code ENOENT
npm ERR! syscall access
npm ERR! path /home/ares/ares-webportal/node_modules/ember-copy
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, access '/home/ares/ares-webportal/node_modules/ember-copy'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ares/.npm/_logs/2020-10-19T16_38_08_391Z-debug.log
- Building
Environment: production
- Building
- building...
Killed
Done!
After seeing this, I tried chmod -R 775 on the node_modules in the event it was some permissions error, since I noticed some of the folders in node_modules were just 755. A re-run of upgrade/finish after I did that yielded this:
%% Redeploying web portal. This may take a couple minutes. You'll see a message when it's done.
%% Web portal deployed: npm WARN ember-simple-auth@3.0.0 requires a peer of ember-fetch@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 17.341s
- Building
Environment: production
- Building
- building...
DEPRECATION: The use of the private `{{-in-element}}` is deprecated, please refactor to the public `{{in-element}}`. ('ember-popper/templates/components/ember-popper-targeting-parent.hbs' @ L1:C0) [deprecation id: glimmer.private-in-element]
at logDeprecationStackTrace (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1926:21)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at raiseOnDeprecation (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1953:9)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at invoke (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2035:9)
at deprecate (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1991:28)
at BlockStatement (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:10726:59)
at visitNode (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7738:16)
at visitArray (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7829:20)
DEPRECATION: The use of the private `{{-in-element}}` is deprecated, please refactor to the public `{{in-element}}`. ('ember-popper/templates/components/ember-popper.hbs' @ L1:C0) [deprecation id: glimmer.private-in-element]
at logDeprecationStackTrace (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1926:21)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at raiseOnDeprecation (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1953:9)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at invoke (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2035:9)
at deprecate (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1991:28)
at BlockStatement (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:10726:59)
at visitNode (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7738:16)
at visitArray (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7829:20)
DEPRECATION: The use of the private `{{-in-element}}` is deprecated, please refactor to the public `{{in-element}}`. ('ember-bootstrap/templates/components/bs-modal-simple.hbs' @ L1:C0) [deprecation id: glimmer.private-in-element]
at logDeprecationStackTrace (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1926:21)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at raiseOnDeprecation (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1953:9)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at invoke (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2035:9)
at deprecate (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1991:28)
at BlockStatement (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:10726:59)
at visitNode (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7738:16)
at visitArray (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7829:20)
DEPRECATION: The use of the private `{{-in-element}}` is deprecated, please refactor to the public `{{in-element}}`. ('ember-bootstrap/templates/components/bs-modal.hbs' @ L1:C0) [deprecation id: glimmer.private-in-element]
at logDeprecationStackTrace (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1926:21)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at raiseOnDeprecation (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1953:9)
at HANDLERS.<computed> (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2023:9)
at invoke (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:2035:9)
at deprecate (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:1991:28)
at BlockStatement (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:10726:59)
at visitNode (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7738:16)
at visitArray (/home/ares/ares-webportal/node_modules/ember-source/dist/ember-template-compiler.js:7829:20)
- cleaning up
cleaning up...
- cleaning up
Built project successfully. Stored in "dist/".
File sizes:
- dist/assets/ares-webportal-35d421156fd26bc065cb9bf91351e8f8.css: 177.31 KB (25.47 KB gzipped)
- dist/assets/ares-webportal-bc239f2861b6c7bfa92b2e3d8d79d673.js: 1.04 MB (121.07 KB gzipped)
- dist/assets/vendor-4793aa0a823a2d130c8ab871c8319a99.js: 3.74 MB (866.48 KB gzipped)
- dist/assets/vendor-651a2e8fe124f798029d3105d4350a9a.css: 6 KB (2.19 KB gzipped)
- dist/scripts/ace_editor-0196270d42892dcac666a8754d514828.js: 364.44 KB (101.24 KB gzipped)
- dist/scripts/alertify.min-1dfc05da2f216b35ce3565ae32389731.js: 35.02 KB (9.42 KB gzipped)
- dist/scripts/ansi_up-158566dc1ff8f2804de972f7e841e2f6.js: 10.76 KB (2.83 KB gzipped)
- dist/scripts/aresweb_version-b3bcf1e12249f5abe0d6784ca84aab17.js: 30 B (50 B gzipped)
- dist/scripts/music_player-2464b1d0edbbfe5487df7a2912d8c14b.js: 1.44 KB (616 B gzipped)
Done!
I am not familiar with Node so not quite sure what best to do (or why there were permissions errors in the first place). Thanks for looking