def run(self): if not skip_npm: if not which('node'): error_message = """ Please install nodejs and npm before continuing installation. nodejs may be installed using conda or directly from: https://nodejs.org/ """ log.error(error_message) return run(npm, cwd=HERE) develop.run(self)
def run_pack_labextension(): if Path('package.json').is_file(): try: run(['jlpm', 'build:all']) except CalledProcessError: pass