Score:0

VirtualBox ubuntu/focal64 - Error: Command not found

pm flag

Description: I ran into a problem with a command and I am not sure how to handle the situation. All setup commands ran successfully, so the file structure is in place to install the template command ./vendor/bin/jigsaw init blog. The documentation from Jigsaw Tighten shows without a the sudo but when I ran it without sudo, I got a permission error. Is there an extra step I need to do for it to find the vendor folder?

Installed in the ubuntu/focal64 box:

  • PHP 7.4.3
  • Composer version 2.2.4
  • Node v16.13.2 & NPM 8.1.2

Project type: PHP SSG: Jigsaw

Command that ran successfully:

  • $ composer require tightenco/jigsaw

Current File Structure:

src/
  vendor
    ...
    bin
      ...
      jigsaw
  composer.json
  composer.lock
  ...

Error: vagrant@jigsaw:/var/www/html$ sudo ./vendor/bin/jigsaw init blog
Output: sudo: ./vendor/bin/jigsaw: command not found
Docs Command: vagrant@jigsaw:/var/www/html$ ./vendor/bin/jigsaw init blog
Output: bash: ./vendor/bin/jigsaw: Permission denied

Documentation: https://jigsaw.tighten.co/docs/starter-templates/

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.