Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing in Linux #1

Closed
dmarrazzo opened this issue May 29, 2018 · 2 comments
Closed

Problem installing in Linux #1

dmarrazzo opened this issue May 29, 2018 · 2 comments

Comments

@dmarrazzo
Copy link

I installed npm:

sudo dnf install npm

When I launch npm start, I get this message:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 info lifecycle [email protected]~start: [email protected]
7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~start: PATH: /usr/lib/node_modules/npm/node_modules.bundled/npm-lifecycle/node-gyp-bin:/home/donato/git/demo/qlb-loan-application-ui/node_modules/.bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/donato/.local/bin:/home/donato/bin
9 verbose lifecycle [email protected]~start: CWD: /home/donato/git/demo/qlb-loan-application-ui
10 silly lifecycle [email protected]~start: Args: [ '-c', 'gulp' ]
11 info lifecycle [email protected]~start: Failed to exec start script
12 verbose stack Error: [email protected] start: `gulp`
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules.bundled/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at emitTwo (events.js:126:13)
12 verbose stack     at ChildProcess.emit (events.js:214:7)
12 verbose stack     at maybeClose (internal/child_process.js:925:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
13 verbose pkgid [email protected]
14 verbose cwd /home/donato/git/demo/qlb-loan-application-ui
15 verbose Linux 4.16.11-300.fc28.x86_64
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
17 verbose node v8.11.2
18 verbose npm  v5.6.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error [email protected] start: `gulp`
23 error spawn ENOENT
24 error Failed at the [email protected] start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
@dmarrazzo
Copy link
Author

Ok solved.

sudo npm install -g grunt-cli
# maybe the next is redundant
npm install patternfly --save 
npm install angular-patternfly --save

TODO: update the doc

Reference: https://www.npmjs.com/package/angular-patternfly

@snoussi snoussi closed this as completed Jun 7, 2018
@snoussi
Copy link
Owner

snoussi commented Jun 7, 2018

Thank you @dmarrazzo !
I have updated the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants