Open CodeJjang opened 8 years ago
I'm just adding yarn to my project. I've already installed it successfully in several places across the project, and even opened another bug regarding dev dependencies bug I occured.
This one happened when I tried yarn --force. yarn-error.log:
yarn --force
Arguments: /usr/bin/nodejs /usr/bin/yarn --force PATH: /home/linnovate1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Yarn version: 0.16.1 Node version: 4.4.2 Platform: linux x64 npm manifest: { "name": "playlist-service", "private": true, "version": "0.0.0", "description": "a Sails application", "keywords": [], "dependencies": { "include-all": "~0.1.6", "mongoose": "^4.6.5", "rc": "1.0.1", "replay-jwt-middleware": "^1.0.1", "replay-request-services": "^1.0.0", "replay-schemas": "^1.0.49", "replay-test-utils": "^1.0.1", "sails": "~0.12.3", "sails-disk": "~0.10.9", "sails-swagger": "^0.5.1" }, "scripts": { "debug": "node debug app.js", "start": "node app.js", "test": "node ./node_modules/mocha/bin/mocha test/bootstrap.test.js test/**/**/*.test.js" }, "main": "app.js", "repository": { "type": "git", "url": "git://github.com/linnovate1/playlist-service.git" }, "author": "linnovate1", "license": "", "devDependencies": { "chai": "^3.5.0", "mocha": "^3.1.2", "mongoose": "^4.6.5", "nock": "^9.0.2", "replay-test-utils": "^1.0.0", "supertest": "^2.0.1", "supertest-as-promised": "^4.0.1", "url-join": "^1.1.0" } } yarn manifest: No manifest bower manifest: No manifest Lockfile: No lockfile Trace: Error: EACCES: permission denied, mkdir '/home/linnovate1/Desktop/replay-api/playlist-service/node_modules/sails/node_modules/include-all/lib' at Error (native)
If it helps, once I removed node_modules/ manually and ran yarn command to install, it worked fine.
yarn
I'm just adding yarn to my project.
I've already installed it successfully in several places across the project, and even opened another bug regarding dev dependencies bug I occured.
This one happened when I tried
yarn --force
.yarn-error.log: