Skip to content
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

Error accured while finally starting it,'text-emphasis.less' wasn't found #62

Open
WXpiero opened this issue May 6, 2018 · 3 comments

Comments

@WXpiero
Copy link

WXpiero commented May 6, 2018

root@localhost:~/meanTorrent# npm start

meanTorrent@0.1.0 start /root/meanTorrent
gulp

[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

@taobataoma
Copy link
Owner

taobataoma commented May 6, 2018

@WXpiero please see here #14 or #4

@WXpiero
Copy link
Author

WXpiero commented May 6, 2018

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

@WXpiero
Copy link
Author

WXpiero commented May 6, 2018

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"})

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

2 participants