This repository was archived by the owner on Dec 3, 2021. It is now read-only.
This repository was archived by the owner on Dec 3, 2021. It is now read-only.
Open
Description
System: Ubuntu 16.04 - VPS
Followed the install instructions
This is the error:
root@adminpaneltest:~/my-project# npm run serve
> @coreui/[email protected] serve /root/my-project
> npm-run-all --parallel localhost watch-css watch-js
/usr/bin/env: ‘node’: No such file or directory
npm ERR! Linux 4.4.0-109-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "serve"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @coreui/[email protected] serve: `npm-run-all --parallel localhost watch-css watch-js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @coreui/[email protected] serve script 'npm-run-all --parallel localhost watch-css watch-js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @coreui/coreui-free-bootstrap-admin-template-ajax package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm-run-all --parallel localhost watch-css watch-js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @coreui/coreui-free-bootstrap-admin-template-ajax
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls @coreui/coreui-free-bootstrap-admin-template-ajax
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/my-project/npm-debug.log
#making sure I have latest versions
root@adminpaneltest:~/my-project# apt upgrade nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (4.2.6~dfsg-1ubuntu4.1).
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-image-4.4.0-87-generic
linux-image-extra-4.4.0-87-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@adminpaneltest:~/my-project# apt upgrade npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version (3.5.2-0ubuntu4).
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-image-4.4.0-87-generic
linux-image-extra-4.4.0-87-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@adminpaneltest:~/my-project#
` File: /root/my-project/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'serve' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle @coreui/[email protected]~preserve: @coreui/[email protected]
6 silly lifecycle @coreui/[email protected]~preserve: no script for preserve, continuing
7 info lifecycle @coreui/[email protected]~serve: @coreui/[email protected]
8 verbose lifecycle @coreui/[email protected]~serve: unsafe-perm in lifecycle true
9 verbose lifecycle @coreui/[email protected]~serve: PATH: /usr/share/npm/bin/node-gyp-bin:/root/my-project/node_modul$
10 verbose lifecycle @coreui/[email protected]~serve: CWD: /root/my-project
11 silly lifecycle @coreui/[email protected]~serve: Args: [ '-c', 'npm-run-all --parallel localhost watch-css watch-js$
12 info lifecycle @coreui/[email protected]~serve: Failed to exec serve script
13 verbose stack Error: @coreui/[email protected] serve: `npm-run-all --parallel localhost watch-css watch-js`
13 verbose stack spawn ENOENT
13 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:17:16)
13 verbose stack at emitTwo (events.js:87:13)
13 verbose stack at ChildProcess.emit (events.js:172:7)
13 verbose stack at maybeClose (internal/child_process.js:821:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid @coreui/[email protected]
15 verbose cwd /root/my-project
16 error Linux 4.4.0-109-generic
17 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "serve"
18 error node v4.2.6
19 error npm v3.5.2
20 error file sh
21 error code ELIFECYCLE
22 error errno ENOENT
23 error syscall spawn
24 error @coreui/[email protected] serve: `npm-run-all --parallel localhost watch-css watch-js`
24 error spawn ENOENT`
Metadata
Metadata
Assignees
Labels
No labels