D
D
Dmitry Klimantovich2021-12-01 20:11:26
npm
Dmitry Klimantovich, 2021-12-01 20:11:26

How to install npm in Sublime Text 3?

Good afternoon.
How to use NPM in Sublime Text 3?
I installed the npm plugin via Package Control. I also installed node.js and it seems along with npm (at least the npm install -g [email protected] command in the windows console worked and updated.
Then again, through the Package Control, I select the npm command: install package and enter bootstrap-select Here he gives me a bunch of errors of this kind:

64 warn tar TAR_ENTRY_ERROR UNKNOWN: unknown error, write
65 silly tar Error: UNKNOWN: unknown error, write
65 silly tar  TAR_ENTRY_ERROR UNKNOWN: unknown error, write [Error: UNKNOWN: unknown error, write] {
65 silly tar   errno: -4094,
65 silly tar   code: 'UNKNOWN',
65 silly tar   syscall: 'write',
65 silly tar   entry: ReadEntry {
65 silly tar     _events: [Object: null prototype] {},
65 silly tar     _eventsCount: 0,
65 silly tar     _maxListeners: undefined,
65 silly tar     pipes: Yallist { tail: [Node], head: [Node], length: 1 },
65 silly tar     buffer: Yallist { tail: null, head: null, length: 0 },
65 silly tar     writable: false,
65 silly tar     readable: false,
65 silly tar     extended: null,
65 silly tar     globalExtended: null,
65 silly tar     header: Header {
65 silly tar       cksumValid: true,
65 silly tar       needPax: false,
65 silly tar       nullBlock: false,
65 silly tar       block: null,
65 silly tar       path: 'package/LICENSE',
65 silly tar       mode: 438,
65 silly tar       uid: null,
65 silly tar       gid: null,
65 silly tar       size: 1131,
65 silly tar       mtime: 1985-10-26T08:15:00.000Z,
65 silly tar       cksum: 4282,
65 silly tar       linkpath: '',
65 silly tar       uname: '',
65 silly tar       gname: '',
65 silly tar       devmaj: 0,
65 silly tar       devmin: 0,
65 silly tar       atime: null,
65 silly tar       ctime: null,
65 silly tar       [Symbol(type)]: '0'
65 silly tar     },
65 silly tar     startBlockSize: 1536,
65 silly tar     blockRemain: 0,
65 silly tar     remain: 0,
65 silly tar     type: 'File',
65 silly tar     meta: false,
65 silly tar     ignore: false,
65 silly tar     path: 'LICENSE',
65 silly tar     mode: 438,
65 silly tar     uid: null,
65 silly tar     gid: null,
65 silly tar     uname: '',
65 silly tar     gname: '',
65 silly tar     size: 1131,
65 silly tar     mtime: 1985-10-26T08:15:00.000Z,
65 silly tar     atime: null,
65 silly tar     ctime: null,
65 silly tar     linkpath: '',
65 silly tar     absolute: 'G:/Мой диск/SublimeProjects/node_modules/bootstrap/LICENSE',
65 silly tar     [Symbol(kCapture)]: false,
65 silly tar     [Symbol(flowing)]: false,
65 silly tar     [Symbol(paused)]: true,
65 silly tar     [Symbol(objectMode)]: false,
65 silly tar     [Symbol(encoding)]: null,
65 silly tar     [Symbol(decoder)]: null,
65 silly tar     [Symbol(EOF)]: true,
65 silly tar     [Symbol(emittedEnd)]: true,
65 silly tar     [Symbol(emittingEnd)]: false,
65 silly tar     [Symbol(closed)]: false,
65 silly tar     [Symbol(emittedError)]: null,
65 silly tar     [Symbol(bufferLength)]: 0,
65 silly tar     [Symbol(destroyed)]: false
65 silly tar   },
65 silly tar   cwd: 'G:/Мой диск/SublimeProjects/node_modules/bootstrap',
65 silly tar   tarCode: 'TAR_ENTRY_ERROR'
65 silly tar }

What it is?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aleksey Levickyj, 2021-12-02
@AlekSays

Install an integrated Terminus terminal and install packages through it. npm install package-name
The Sublime Text interface is not very friendly, try using Microsoft's VSCode, it's free, with a user-friendly interface, a built-in terminal and a bunch of plugins (which are installed with one click).
This is not advertising)) I myself used ST3 for a long time, but it has disadvantages that are not in VSCode - synchronization of configs via github gist (in VSCode now in one click), it is completely free, the VIM plugin works like clockwork, and a lot what comes out of the box, unlike ST3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question