runegan / jsxbin

Convert jsx ExtendScript files into jsxbin files using ExtendScript Toolkit
MIT License
87 stars 21 forks source link

Not sure if its installed at correct location #33

Open schroef opened 1 year ago

schroef commented 1 year ago

I havtn used NPM in quite a while. But i basically just ran the install code in Terminal, using osx 10.11.6 ( i know super old)

I got this "error" in return

in@2.2.0 postinstall /Users/macpro1/node_modules/jsxbin
> node bin/postinstall.js

npm WARN saveError ENOENT: no such file or directory, open '/Users/macpro1/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/macpro1/package.json'
npm WARN macpro1 No description
npm WARN macpro1 No repository field.
npm WARN macpro1 No README data
npm WARN macpro1 No license field.

+ jsxbin@2.2.0
added 61 packages from 33 contributors and audited 61 packages in 15.544s
found 0 vulnerabilities

Seem like its being installed in the wrong spot.

runegan commented 1 year ago

Hi! Its seems like you want to install this globally? Are you running this in the home directory? If you want to install this as a global package, you need to add '-g' to the install command. https://www.tutorialsteacher.com/nodejs/what-is-node-package-manager#:~:text=Install%20Package%20Globally,command%20to%20install%20package%20globally.

hope that helps

schroef commented 1 year ago

I can't remember how i installed it. I thin i first run it like in the readme, then i did -g The first run didn't do anything, when i used the global method, it was installed but is not recognised by npm

Those are the warning jgs i showed in the screengrsb

My node_moduoe folder is in use not globally