添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爱旅游的保温杯  ·  AWS SQS Input - ...·  4 天前    · 
拉风的蘑菇  ·  Solved: How to add a ...·  3 周前    · 
安静的李子  ·  Solved: How to create ...·  1 月前    · 
年轻有为的双杠  ·  MQTT Modular Input - ...·  1 月前    · 
笑点低的毛豆  ·  Solved: Re: How to ...·  1 月前    · 
大方的稀饭  ·  linux ...·  4 月前    · 
爱旅游的花卷  ·  Failed to parse ...·  9 月前    · 

Hi Team,

Here is the error log that am getting while trying to build the app, i have seen few recommendation to use "%" in the build path $SPLUNK_HOME/bin/splunk cmd node ./node_modules/webpack/bin/webpack.js , but i think thats a fix for Windows machine, could you please gimme a solution the path setting on MAC.

Error Log :
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected] ~prebuild: [email protected]
6 info lifecycle [email protected] ~build: [email protected]
7 verbose lifecycle [email protected] ~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected] ~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Applications/Splunk/etc/apps/viz_tutorial_app/appserver/static/visualizations/radial_meter/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle [email protected] ~build: CWD: /Applications/Splunk/etc/apps/viz_tutorial_app/appserver/static/visualizations/radial_meter
10 silly lifecycle [email protected] ~build: Args: [ '-c',
10 silly lifecycle '$SPLUNK_HOME/bin/splunk cmd node ./node_modules/webpack/bin/webpack.js' ]
11 info lifecycle [email protected] ~build: Failed to exec build script
12 verbose stack Error: [email protected] build: $SPLUNK_HOME/bin/splunk cmd node ./node_modules/webpack/bin/webpack.js
12 verbose stack spawn ENOENT
12 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack at ChildProcess.emit (events.js:198:13)
12 verbose stack at maybeClose (internal/child_process.js:982:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
13 verbose pkgid [email protected]
14 verbose cwd /Applications/Splunk/etc/apps/viz_tutorial_app/appserver/static/visualizations/radial_meter
15 verbose Darwin 18.7.0
16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
17 verbose node v10.16.0
18 verbose npm v6.9.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error [email protected] build: $SPLUNK_HOME/bin/splunk cmd node ./node_modules/webpack/bin/webpack.js
23 error spawn ENOENT
24 error Failed at the [email protected] build script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]

Thanks in advance...!!

Splunk, Splunk>, Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.