superset icon indicating copy to clipboard operation
superset copied to clipboard

yarn run sync-backend/ mpm run sync-backend command failed with error.

Open sohelsarder opened this issue 8 years ago • 1 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if any
  • [ ] I have reproduced the issue with at least the latest released version of superset
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.25.6 node: v10.6.0 npm:6.1.0 ubuntu 16.04 yarn run v1.7.0

Expected results

I was trying to add new country name in control.jsx Though yarn run build complete with a success I am not getting changes in country choices.

I am expecting execution of sync-backend command complete with success but it is giving error. yarn run sync-backend

Actual results

yarn run v1.7.0 $ babel-node --presets env src/syncBackend.js internal/modules/cjs/loader.js:583 throw err; ^

Error: Cannot find module '../lib/babel-node' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.Module._load (internal/modules/cjs/loader.js:507:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/opt/incubator-superset-new/superset/assets/node_modules/.bin/babel-node:3:1) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Steps to reproduce

sohelsarder avatar Jul 09 '18 08:07 sohelsarder

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 10 '19 19:04 stale[bot]