Hello. I put Angular 2, one of the steps - installing Dart. In the instructions at the office. The site says that the Pub goes along with Dart immediately upon installation, but it doesn't exist. I tried to install it myself through npm and add the path to it in the path. When executing a command, any (in my case it was necessary to execute pub get ) gives the error: [Error: No configuration directory found.] . Well, that's the whole problem. How to fix? OS: Debian 8.

  • so look at which files / directories the program is trying to access: strace -e open pub get - aleksandr barakin
  • @alexanderbarakin did, but still do not understand what was the matter. jsfiddle.net/w5qutp1z - ndawn
  • the directory /usr/local/lib/node_modules/pub/node_modules/confdir/ do you exist? - aleksandr barakin
  • @alexanderbarakin yes. All that is in the output of the program, everything exists. - ndawn
  • To all appearances, the message is generated by this file: github.com/pvorb/node-confdir/blob/master/confdir.js // it is present among those that are being accessed. Try to understand the logic of the function and its parameters. - aleksandr barakin pm

0