Content-Length: 247716 | pFad | http://github.com/patriciogonzalezvivo/glslEditor/issues/13

67 "postinstall": "ln -nsf ../src/js node_modules/app" fails when install from npm · Issue #13 · patriciogonzalezvivo/glslEditor · GitHub
Skip to content

"postinstall": "ln -nsf ../src/js node_modules/app" fails when install from npm #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PixelsCommander opened this issue Nov 20, 2016 · 4 comments

Comments

@PixelsCommander
Copy link
Contributor

"postinstall": "ln -nsf ../src/js node_modules/app" fails when install from npm . What is the purpose of this? Can it just be removed?

@brucelane
Copy link
Contributor

it fails for me on Windows, ok on MacOs.
I don't know the purpose either...

@marcoose777
Copy link

Epic fail here too, unfortunately not experienced enough with npm/node.js to help debug

FYI: OS x86_64 Linux Arch (Manjaro)

Seems like the post-install script/line in the json file tries to create a symlink to a non-existent file called app. The warning lines don't look very optimistic either. Regressing to Kodelife.

output:
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

glslEditor@0.0.16 postinstall /home/spongebob/node_modules/glslEditor
ln -nsf ../src/js node_modules/app

ln: failed to create symbolic link 'node_modules/app': No such file or directory
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/home/spongebob/package.json'
npm WARN spongebob No description
npm WARN spongebob No repository field.
npm WARN spongebob No README data
npm WARN spongebob No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! glslEditor@0.0.16 postinstall: ln -nsf ../src/js node_modules/app
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the glslEditor@0.0.16 postinstall script 'ln -nsf ../src/js node_modules/app'.

@lagorsse
Copy link

lagorsse commented Jun 25, 2017

Yep same issue here, I tried to remove it from local repo and install it with local dependencies, it's installed, but I have some Failed to load resource: net::ERR_FILE_NOT_FOUND

I think ln -nsf ../src/js node_modules/app should be ln -nsf ../src/js ../node_modules/app cause they are on the same level.

it doesn't occur if I clone the repo, just if I had dependency to an npm project

@hahaxiaowai
Copy link

so.. this issue be solved? How?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/patriciogonzalezvivo/glslEditor/issues/13

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy