mirror of https://github.com/embarklabs/embark.git
1.4 KiB
1.4 KiB
title: Troubleshooting layout: docs
In case you're experiencing problems with using Embark, here is a list of solutions to some frequently encountered issues. If this page doesn't help you solve your problem, try doing a search on GitHub.
node-gyp problems
node-gyp can cause problems, because it requires a C++ compiler.
If you do have problems caused by it, first follow the installation steps for your OS here.
If you still have problems and are on Windows, try the following:
- run
npm config set msvs_version 2015
beforenpm install
- Repair Windows Build tools that the node-gyp doc made you install. If it tells you to remove a conflicting version do it. After the repair succeeded, reboot.
EACCES / npm ERR Permission denied
Issues typically occur if NodeJS and/or Embark are installed using sudo
, avoid using it possible. There are several options to fix this. We recommend installing node using NVM
Assuming Contract to be an interface
This warning happens when Embark can't deploy one of your Smart Contracts because the compiler did not return a bytecode.
Here are some of the reasons:
- If it inherits from an interface, it must have all the functions implemented
- The contract's constructor must be
public