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

Failed to activate the linter-solidity package #17

Open
robbiehanson opened this issue Oct 1, 2017 · 1 comment
Open

Failed to activate the linter-solidity package #17

robbiehanson opened this issue Oct 1, 2017 · 1 comment

Comments

@robbiehanson
Copy link

[Enter steps to reproduce:]

  1. Install linter-solidity
  2. Ensure that solc@0.4.17 is installed
  3. Crash

I didn't have any problems with linter-solidity when it was using solc@0.4.16. So it looks to be a compatibility issue starting with 0.4.17.

Atom: 1.20.1 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: linter-solidity package 0.5.0

Stack Trace

Failed to activate the linter-solidity package

At soljson.cwrap is not a function

TypeError: soljson.cwrap is not a function
    at setupMethods (/packages/linter-solidity/node_modules/solc/wrapper.js:7:29)
    at /packages/linter-solidity/node_modules/solc/index.js:3:18)
    at /packages/linter-solidity/node_modules/solc/index.js:5:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/linter-solidity/lib/linter.js:4:20)
    at /packages/linter-solidity/lib/linter.js:54:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:887:35)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:242:22)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:99:21)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:215:40)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:645:40)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:535:35
    at exit (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:338:17)
    at /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:351:17
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:220:15)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

Commands

     -1:47.3.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling)
     -1:27.4.0 core:backspace (input.hidden-input)
     -1:26.5.0 core:save (input.hidden-input)
 10x -0:53 core:backspace (input.hidden-input)
     -0:49 core:confirm (input.hidden-input)

Non-Core Packages

busy-signal 1.4.3 
file-icons 2.1.12 
intentions 1.1.5 
language-babel 2.74.4 
language-ethereum 0.3.9 
language-lua 0.9.11 
linter 2.2.0 
linter-eslint 8.3.2 
linter-luaparse 0.2.0 
linter-solidity 0.5.0 
linter-ui-default 1.6.10 
pigments 0.40.2 
pretty-json 1.6.4 
@BlockFox
Copy link

BlockFox commented Jun 4, 2020

I've the same problem with linter-solidity 0.5.0. Is there any solution?

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

No branches or pull requests

3 participants