Open WXpiero opened 6 years ago
@wxpiero please see here #14 or #4
when i ran baw install,it show's these......
root@localhost:~/meanTorrent# bower install bower ESUDO Cannot be run with sudo
Additional error details: Since bower is a user command, there is no need to execute it with superuser permissions. If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
http://www.joyent.com/blog/installing-node-and-npm https://gist.github.com/isaacs/579814
You can however run a command with sudo using "--allow-root" option
additionally,i reviewed the installtion process,it mentioned bower but did not say it is sucess or skiped.
root@localhost:~/meanTorrent# npm install npm WARN lifecycle meanTorrent@0.1.0~postinstall: cannot run in wd %s %s (wd=%s) meanTorrent@0.1.0 npm run bower /root/meanTorrent meanTorrent@0.1.0 /root/meanTorrent ├─┬ gulp-nodemon@2.2.1 │ └─┬ nodemon@1.17.4 │ └── semver@5.5.0 ├─┬ sharp@0.19.1 │ └── semver@5.5.0 └─┬ snyk@1.78.1 ├── semver@5.5.0 └─┬ snyk-policy@1.12.0 └── semver@5.5.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/karma/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
root@localhost:~/meanTorrent# npm start
[06:40:06] Using gulpfile ~/meanTorrent/gulpfile.js [06:40:06] Starting 'default'... [06:40:06] Starting 'env:dev'... [06:40:06] Finished 'env:dev' after 291 μs [06:40:06] Starting 'copyLocalEnvConfig'... [06:40:06] Starting 'makeUploadsDir'... [06:40:06] Finished 'makeUploadsDir' after 850 μs [06:40:06] Finished 'copyLocalEnvConfig' after 32 ms [06:40:06] Starting 'lint'... [06:40:06] Starting 'less'... Potentially unhandled rejection [2] '../../../../public/lib/bootstrap/less/mixins/text-emphasis.less' wasn't found. Tried - /root/meanTorrent/public/lib/bootstrap/less/mixins/text-emphasis.less,../../../../public/lib/bootstrap/less/mixins/text-emphasis.less in file /root/meanTorrent/modules/core/client/less/mt-var.less line no. 4