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

Error: Cannot find module 'extend' #54

Open
Soyrros0x0 opened this issue May 20, 2018 · 2 comments
Open

Error: Cannot find module 'extend' #54

Soyrros0x0 opened this issue May 20, 2018 · 2 comments

Comments

@Soyrros0x0
Copy link

Soyrros0x0 commented May 20, 2018

JSFMT ==>
Error: internal/modules/cjs/loader.js:573
    throw err;
    ^

Error: Cannot find module 'extend'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
    at Function.Module._load (internal/modules/cjs/loader.js:497:25)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/chiangfai/Library/Application Support/Sublime Text 3/Packages/jsfmt/jsfmt.js:5:14)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)a
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)



reloading settings Packages/User/jsfmt.sublime-settings
error: The formatting failed please check the console for more details.
@FgoPan
Copy link

FgoPan commented Jul 4, 2018

me too ,I had resolved it.
use npm i extend --save in the \Sublime Text 3\Packages\jsfmt folder

@Soyrros0x0
Copy link
Author

thanks,I try

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

No branches or pull requests

2 participants