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

I am getting Windows Error 3 #3

Closed
garyrusso opened this issue Sep 10, 2016 · 1 comment
Closed

I am getting Windows Error 3 #3

garyrusso opened this issue Sep 10, 2016 · 1 comment

Comments

@garyrusso
Copy link

garyrusso commented Sep 10, 2016

I'm getting the following Windows Error 3 message whenever I attempt the "docker-compose build" command.

Here the output error message.

$ docker-compose build
Building node
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "compose\cli\main.py", line 61, in main
  File "compose\cli\main.py", line 113, in perform_command
  File "compose\cli\main.py", line 219, in build
  File "compose\project.py", line 300, in build
  File "compose\service.py", line 727, in build
  File "site-packages\docker\api\build.py", line 54, in build
  File "site-packages\docker\utils\utils.py", line 103, in tar
  File "tarfile.py", line 2006, in add
  File "tarfile.py", line 1878, in gettarinfo
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\projects\\Angular2-RESTfulService\\node_modules\\systemjs-builder\\node_modules\\babel-plugin-transform-cjs-system-wrapper\\node_modules\\babel-template\\node_modules\\babel-traverse\\node_modules\\babel-code-frame\\node_modules\\chalk\\node_modules\\ansi-styles\\package.json'
docker-compose returned -1
@DanWahlin
Copy link
Owner

Try running it from a folder under "Users" (such as your Desktop) first. Docker restricts what folders are allowed to be used.

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