Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Failed to activate the ide-php package #13

Closed
JobScorpio opened this issue Sep 13, 2017 · 4 comments
Closed

Failed to activate the ide-php package #13

JobScorpio opened this issue Sep 13, 2017 · 4 comments

Comments

@JobScorpio
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.21.0-beta0 x64
Electron: 1.6.9
OS: Unknown Windows version
Thrown From: ide-php package 0.6.1

Stack Trace

Failed to activate the ide-php package

At Cannot find module 'atom-languageclient'

Error: Cannot find module 'atom-languageclient'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.21.0-beta0/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/native-compile-cache.js:66:33)
    at /packages/ide-php/lib/main.js:6:44)
    at /packages/ide-php/lib/main.js:140:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package.js:903:35)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package.js:242:22)
    at ~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package.js:99:21)
    at ~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package.js:215:40)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package-manager.js:690:42)
    at config.transactAsync (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package-manager.js:665:36)
    at Config.module.exports.Config.transactAsync (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/config.js:346:24)
    at PackageManager.activatePackages (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package-manager.js:663:23)
    at PackageManager.activate (~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/package-manager.js:646:50)
    at ~/AppData/Local/atom/app-1.21.0-beta0/resources/app/src/atom-environment.js:854:36

Commands

Non-Core Packages

atom-ide-ui 0.3.1 
ide-php 0.6.1 
simplified-chinese-menu 5.3.4 
@damieng
Copy link
Contributor

damieng commented Sep 13, 2017

How did you install the package?

@supdpk-zz
Copy link

I got the same problem, I simply throw the ide-php repository to ~/.atom/packages, installed atom-ide-ui, atom-languageclient from terminal via apm command. what shall I do?

@Arcanemagus
Copy link

@belbase You need to either use apm to install the package, or properly install the package dependencies before attempting to use it.

@damieng
Copy link
Contributor

damieng commented Oct 2, 2017

You should install ide-php from the command line using the apm command.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants