question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load the prettier-atom package

See original GitHub issue

[Enter steps to reproduce:]

Atom: 1.16.0 x64 Electron: 1.3.13 OS: Mac OS X 10.11.6 Thrown From: prettier-atom package 0.30.0

Stack Trace

Failed to load the prettier-atom package

At Cannot find module 'atom-linter'

Error: Cannot find module 'atom-linter'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/prettier-atom/dist/helpers.js:3:16)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/prettier-atom/dist/statusTile.js:3:16)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/prettier-atom/dist/main.js:9:17)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)

Commands

Non-Core Packages

autoclose-html 0.23.0 
busy-signal 1.4.1 
color-picker 2.2.5 
highlight-selected 0.13.1 
intentions 1.1.2 
language-babel 2.58.0 
linter 2.1.4 
linter-eslint 8.1.7 
linter-ui-default 1.2.3 
minimap 4.28.1 
prettier-atom 0.30.0 

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
robwisecommented, Feb 5, 2018

@a-eid can you try restarting Atom an additional time? One user reports this solved the problem for him, although I admit I don’t really understand what’s going on here.

0reactions
robwisecommented, Sep 5, 2018

@Anujraval24 Can you make a new issue? Your trace doesn’t seem related to the OP.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load the prettier-atom package · Issue #472 · prettier ...
Hello. I got issue described below popping up after latest package version install. Any ideas of how to fix it? Maybe version downgrading...
Read more >
Lint and Prettier and pre-commit, oh my!
The project I'm now working on has been set up with: ESLint to lint ECMAScript/JavaScript; Stylelint to lint CSS (or other style syntaxes) ......
Read more >
error: unable to load installed packages just now
For Linux(Ubuntu) users: If you have oracle-java (7/8) installed. It'll be at this location /usr/lib/jvm and sudo access is required.
Read more >
eslint-plugin-prettier | Yarn - Package Manager
Runs Prettier as an ESLint rule and reports differences as individual ESLint issues. If your desired formatting does not match Prettier's output, you...
Read more >
How to create your own shared esLint, prettier and stylelint ...
Note, I did not use all of them myself. ... eslint-config-airbnb: This package provides Airbnb's .eslintrc as an extensible shared config.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found