question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker-compose does not work on MacOS OSX

See original GitHub issue

There are many github issues created about this. But it seems there is no proper solution. Ideally, the superset should be ready to use with simply docker-compose up.

I have 9 GB and 3 cores allocated to docker. superset_node crashes with the following error:

npm ERR! code EIO
npm ERR! syscall rename
npm ERR! path /app/superset-frontend/node_modules/sha.js
npm ERR! dest /app/superset-frontend/node_modules/.sha.js-sPyHcmzN
npm ERR! errno -5
npm ERR! EIO: i/o error, rename '/app/superset-frontend/node_modules/sha.js' -> '/app/superset-frontend/node_modules/.sha.js-sPyHcmzN'

This happens at master branch And on 1.3.0

dev@npl:(Downloads/superset) % docker logs -f superset_node

/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
+ npm@7.22.0
added 70 packages from 27 contributors, removed 250 packages and updated 187 packages in 66.372s
npm WARN using --force Recommended protections disabled.

added 123 packages, and audited 124 packages in 24s

17 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm WARN using --force Recommended protections disabled.

added 67 packages, removed 7 packages, changed 54 packages, and audited 4515 packages in 3m

1 package is looking for funding
  run `npm fund` for details

81 vulnerabilities (11 low, 23 moderate, 47 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
Running frontend

> superset@1.3.0 dev
> webpack --mode=development --colors --debug --watch

/app/superset-frontend/node_modules/webpack-cli/bin/cli.js:93
				throw err;
				^

Error: Cannot find module './lib/compiler'
Require stack:
- /app/superset-frontend/node_modules/snapdragon/index.js
- /app/superset-frontend/node_modules/braces/lib/braces.js
- /app/superset-frontend/node_modules/braces/index.js
- /app/superset-frontend/node_modules/micromatch/index.js
- /app/superset-frontend/node_modules/findup-sync/index.js
- /app/superset-frontend/node_modules/webpack-cli/bin/utils/convert-argv.js
- /app/superset-frontend/node_modules/webpack-cli/bin/cli.js
- /app/superset-frontend/node_modules/webpack/bin/webpack.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
    at Function.Module._load (internal/modules/cjs/loader.js:745:27)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at Object.<anonymous> (/app/superset-frontend/node_modules/snapdragon/index.js:5:16)
    at Module._compile (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at Object.<anonymous> (/app/superset-frontend/node_modules/braces/lib/braces.js:4:18)
    at Module._compile (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at Object.<anonymous> (/app/superset-frontend/node_modules/braces/index.js:17:14)
    at Module._compile (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at Object.<anonymous> (/app/superset-frontend/node_modules/micromatch/index.js:8:14)
    at Module._compile (/app/superset-frontend/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/app/superset-frontend/node_modules/snapdragon/index.js',
    '/app/superset-frontend/node_modules/braces/lib/braces.js',
    '/app/superset-frontend/node_modules/braces/index.js',
    '/app/superset-frontend/node_modules/micromatch/index.js',
    '/app/superset-frontend/node_modules/findup-sync/index.js',
    '/app/superset-frontend/node_modules/webpack-cli/bin/utils/convert-argv.js',
    '/app/superset-frontend/node_modules/webpack-cli/bin/cli.js',
    '/app/superset-frontend/node_modules/webpack/bin/webpack.js'
  ]
}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
vivek-kandhvarcommented, Sep 6, 2021

Same issue here… Dev mode is broken in 1.3.0. I had no issues on my MAC M1 running for v1.2.0. Also when can we expect arm64 compatible images?

0reactions
qstevenscommented, May 26, 2022

Any news on support for arm64 platform?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker-compose up not working on Mac OS #291 - GitHub
Steps to reproduce the behavior: Clone the project on Mac OS; Execute the README.md's requested INIT_COMMAND='--init' docker-compose up -d; Wait ...
Read more >
docker-compose is not working - Stack Overflow
What I think is weird, is that when I input 'docker-compose' in the host terminal, it can be recognized by the OS (screenshot)....
Read more >
Known issues for Docker Desktop on Mac
Docker does not auto-start on login even when it is enabled in Preferences. This is related to a set of issues with Docker...
Read more >
Docker compose does not work on Mac : PY-31727
Docker compose does not work on Mac · Open PC 2019.1 by clicking the icon in the dock · Select PyCharm->Preferences, and choose...
Read more >
Docker support not working on Mac - Visual Studio Feedback
Did running 'docker-compose' manually work? The error is from docker-compose, not from VS. The issue could be a bug in docker-compose or some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found