kiliman / operator-mono-lig

Add ligatures to Operator Mono similar to Fira Code
MIT License
3.2k stars 202 forks source link

Odd Error #122

Closed dwyn closed 4 years ago

dwyn commented 4 years ago

Hey All,

When running npm install ./build.sh I receive the following error

Could not install "build.sh" as it is not a directory and is not a file with a name ending in .tgz, .tar.gz or .tar

Any idea what could be causing it? I am on a 2019 Macbook Pro with the latest updates, and I am running the command from inside this cloned repo.

dwyn commented 4 years ago

These are the logs:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/Users/dharmon/.nvm/versions/node/v12.12.0/bin/node',
1 verbose cli   '/Users/dharmon/.nvm/versions/node/v12.12.0/bin/npm',
1 verbose cli   'install',
1 verbose cli   './build.sh'
1 verbose cli ]
2 info using npm@6.12.0
3 info using node@v12.12.0
4 verbose npm-session 4f006eaeba2ce1f5
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData error for file:build.sh Could not install "build.sh" as it is not a directory and is not a file with a name ending in .tgz, .tar.gz or .tar
8 timing stage:rollbackFailedOptional Completed in 1ms
9 timing stage:runTopLevelLifecycles Completed in 19ms
10 verbose stack Error: ENOTDIR: not a directory, open '/Users/dharmon/Downloads/operator-mono-lig-2.2.7/build.sh/package.json'
11 verbose cwd /Users/dharmon/Downloads/operator-mono-lig-2.2.7
12 verbose Darwin 19.0.0
13 verbose argv "/Users/dharmon/.nvm/versions/node/v12.12.0/bin/node" "/Users/dharmon/.nvm/versions/node/v12.12.0/bin/npm" "install" "./build.sh"
14 verbose node v12.12.0
15 verbose npm  v6.12.0
16 error code ENOLOCAL
17 error Could not install "build.sh" as it is not a directory and is not a file with a name ending in .tgz, .tar.gz or .tar
18 verbose exit [ 1, true ]
kiliman commented 4 years ago

npm install and ./build.sh are 2 separate commands and should be run on separate lines.

dwyn commented 4 years ago

@kiliman Im an idiot. Thank you so much.

kiliman commented 4 years ago

Ha. No problem. It happens to the best of us. 😅