До этого все работало, случайно поставил видимо какой-то лоадер для webpack-а, теперь не компилируется вовсе, пишет, что отсутствует babel-core
$ webpack
Hash: 4a899c6ceaf0b57ebc50
Version: webpack 1.13.1
Time: 79ms
+ 2 hidden modules
ERROR in Cannot find module 'babel-core'
ERROR in Cannot find module 'babel-core'
Пытался заново устанавливать babel (удаляя все папки из node_modules), но все равно пишет странные вещи:
$ sudo npm install babel-install babel-loader babel-core babel-preset-es2015 --save-dev
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm WARN enoent ENOENT: no such file or directory, open '/home/splincode/package.json'
npm WARN ngmin-webpack-plugin@0.1.3 requires a peer of ngmin@^0.5.0 but none was installed.
npm WARN splincode No description
npm WARN splincode No repository field.
npm WARN splincode No README data
npm WARN splincode No license field.
npm ERR! Linux 4.2.0-35-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "babel-install" "babel-loader" "babel-core" "babel-preset-es2015" "--save-dev"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! path /home/splincode/node_modules/babel-core
npm ERR! code ENOTEMPTY
npm ERR! errno -39
npm ERR! syscall rename
npm ERR! ENOTEMPTY: directory not empty, rename '/home/splincode/node_modules/babel-core' -> '/home/splincode/node_modules/.babel-core.DELETE'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request: