question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Update error

See original GitHub issue

Describe the bug When I try to upgrade to 3.0.4 I get this error.

> admin-lte@3.0.4 install .../node_modules/admin-lte
> npm run plugins


> admin-lte@3.0.4 plugins .../node_modules/admin-lte
> node build/npm/Publish.js -v

.../node_modules/admin-lte/node_modules/fs-extra/lib/mkdirs/make-dir.js:86
      } catch {
              ^

SyntaxError: Unexpected token {
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (.../node_modules/admin-lte/node_modules/fs-extra/lib/mkdirs/index.js:3:44)

Environment (please complete the following information):

  • Operating System: [Ubuntu]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
renwarkurdcommented, Apr 3, 2020

I fixed it, by installing latest version node. Node v12.16.1 npm v6.14.2

0reactions
REJackcommented, Apr 4, 2020

I added a note according to this requirement.

Note: To install it via NPM/Yarn, you need at least Node.js 10 or higher.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Windows Update errors - Microsoft Support
The steps in this guided walk-through should help with all Windows Update errors and other issues—you don't need to search for the specific...
Read more >
Fix Chrome update problems & failed updates - Google Support
If you're having problems updating Chrome on your computer, you might see: Update failed: Updates are disabled by administrator; Update failed (Error: 3...
Read more >
If you see an error when you update or restore your iPhone ...
Learn what to do if you see an error code or alert when you use your computer to update or restore your device....
Read more >
7 Ways to Fix 'iPhone Software Update Failed' Error
Here are some solutions to fix iPhone software update failed error. Read on the blog to know step by step guide tutorial.
Read more >
7 Solutions to Fix Windows 10 Won't Update. #6 Is Fantastic
Here we list 7 ways to fix Win 10 update error and force Windows 10 ... and overcome some bugs so as to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found