sedhha opened a new issue #10352:
URL: https://github.com/apache/incubator-superset/issues/10352


   Superset Version: 0.36.0
   OS: Ubuntu 16.04 LTS
   node version: 12.18.2
   npm version: 6.14.5
   
   When I try to make changes in superset frontend and then build those changes 
in dev server by running the command:
   
   npm install
   npm install webpack
   npm run dev-server
   
   I get this error:
   
![image](https://user-images.githubusercontent.com/36355685/87748018-72d8d180-c812-11ea-9d1d-f7f8ce9016e1.png)
   When I view log file, I get this:
   ```
   0 info it worked if it ends with ok
   1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 
'dev-server' ]
   2 info using [email protected]
   3 info using [email protected]
   4 verbose run-script [ 'predev-server', 'dev-server', 'postdev-server' ]
   5 info lifecycle [email protected]~predev-server: [email protected]
   6 info lifecycle [email protected]~dev-server: [email protected]
   7 verbose lifecycle [email protected]~dev-server: unsafe-perm in 
lifecycle true
   8 verbose lifecycle [email protected]~dev-server: PATH: 
/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/s$
   9 verbose lifecycle [email protected]~dev-server: CWD: 
/home/shivam/apache_superset/incubator-superset/superset-frontend
   10 silly lifecycle [email protected]~dev-server: Args: [
   10 silly lifecycle   '-c',
   10 silly lifecycle   'NODE_ENV=development BABEL_ENV=development node 
--max_old_space_size=4096 ./node_modules/webpack-dev-server/bin/webp$
   10 silly lifecycle ]
   11 silly lifecycle [email protected]~dev-server: Returned: code: 137  
signal: null
   12 info lifecycle [email protected]~dev-server: Failed to exec dev-server 
script
   13 verbose stack Error: [email protected] dev-server: 
`NODE_ENV=development BABEL_ENV=development node --max_old_space_size=4096 
./node$
   13 verbose stack Exit status 137
   13 verbose stack     at EventEmitter.<anonymous> 
(/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
   13 verbose stack     at EventEmitter.emit (events.js:315:20)
   13 verbose stack     at ChildProcess.<anonymous> 
(/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
   13 verbose stack     at ChildProcess.emit (events.js:315:20)
   13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
   13 verbose stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:286:5)
   14 verbose pkgid [email protected]
   15 verbose cwd 
/home/shivam/apache_superset/incubator-superset/superset-frontend
   16 verbose Linux 5.3.0-1030-gcp
   17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev-server"
   18 verbose node v12.18.2
   19 verbose npm  v6.14.5
   20 error code ELIFECYCLE
   21 error errno 137
   22 error [email protected] dev-server: `NODE_ENV=development 
BABEL_ENV=development node --max_old_space_size=4096 
./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development`
   22 error Exit status 137
   23 error Failed at the [email protected] dev-server script.
   23 error This is probably not a problem with npm. There is likely additional 
logging output above.
   24 verbose exit [ 137, true ]
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to