Comments (5)
tried and failed again with ubuntu 16.04 on Windows 10:
> [email protected] build /mnt/e/synology-download-manager
> (rm -r lib dist || true) && npm run build:transpile && npm run build:bundle && npm run build:styles
rm: cannot remove 'lib': No such file or directory
rm: cannot remove 'dist': No such file or directory
> [email protected] build:transpile /mnt/e/synology-download-manager
> tsc
> [email protected] build:bundle /mnt/e/synology-download-manager
> node build.js
building lib/settings/index.js
building lib/background/index.js
building lib/popup/index.js
> [email protected] build:styles /mnt/e/synology-download-manager
> scss --update scss:dist/css
sh: 1: scss: not found
npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build:styles"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build:styles: `scss --update scss:dist/css`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build:styles script 'scss --update scss:dist/css'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the synology-download-manager package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scss --update scss:dist/css
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs synology-download-manager
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls synology-download-manager
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/e/synology-download-manager/npm-debug.log
npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `(rm -r lib dist || true) && npm run build:transpile && npm run build:bundle && npm run build:styles`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script '(rm -r lib dist || true) && npm run build:transpile && npm run build:bundle && npm run build:styles'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the synology-download-manager package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! (rm -r lib dist || true) && npm run build:transpile && npm run build:bundle && npm run build:styles
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs synology-download-manager
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls synology-download-manager
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/e/synology-download-manager/npm-debug.log
from nas-download-manager.
Oops, rookie mistakes on my part. :) Not sure what's failing the first but 1290408 replaces rm
with rimraf
which should work cross-platform and be less noisy and 635eff5 should stop accidentally referring to a global scss
executable and instead use node-sass
(which was the second issue).
from nas-download-manager.
This fixed npm run build
for Windows 10 native, but failed again in the WSL(ubuntu 16.04) , see log below:
/mnt/e/synology-download-manager$ npm run build
> [email protected] build /mnt/e/synology-download-manager
> rimraf lib dist && npm run build:transpile && npm run build:bundle && npm run build:styles
> [email protected] build:transpile /mnt/e/synology-download-manager
> tsc
> [email protected] build:bundle /mnt/e/synology-download-manager
> node build.js
building lib/settings/index.js
building lib/background/index.js
building lib/popup/index.js
> [email protected] build:styles /mnt/e/synology-download-manager
> node-sass --recursive --output dist/css scss
/mnt/e/synology-download-manager/node_modules/node-sass/lib/binding.js:15
throw new Error(errors.missingBinary());
^
Error: Missing binding /mnt/e/synology-download-manager/node_modules/node-sass/vendor/linux-x64-48/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 6.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 6.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.
at module.exports (/mnt/e/synology-download-manager/node_modules/node-sass/lib/binding.js:15:13)
at Object.<anonymous> (/mnt/e/synology-download-manager/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/mnt/e/synology-download-manager/node_modules/node-sass/bin/node-sass:11:10)
npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build:styles"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:styles: `node-sass --recursive --output dist/css scss`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:styles script 'node-sass --recursive --output dist/css scss'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the synology-download-manager package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-sass --recursive --output dist/css scss
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs synology-download-manager
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls synology-download-manager
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/e/synology-download-manager/npm-debug.log
npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `rimraf lib dist && npm run build:transpile && npm run build:bundle && npm run build:styles`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'rimraf lib dist && npm run build:transpile && npm run build:bundle && npm run build:styles'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the synology-download-manager package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! rimraf lib dist && npm run build:transpile && npm run build:bundle && npm run build:styles
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs synology-download-manager
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls synology-download-manager
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/e/synology-download-manager/npm-debug.log
from nas-download-manager.
Did you try doing what the error message says?
Error: Missing binding /mnt/e/synology-download-manager/node_modules/node-sass/vendor/linux-x64-48/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 6.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 6.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.
from nas-download-manager.
yes, no help though. I figure it might be I am using the same copy both from Windows and WSL Ubuntu.
I cloned another copy specifically for ubuntu, and it works happily for both. Thanks for the quick fixes.
from nas-download-manager.
Related Issues (20)
- getURL is deprecated
- Cannot connect using Firefox.
- URL link, right click advanced context menu, save to folder option HOT 1
- miscellaneous maintenance list
- Not support 2 factor authentication. HOT 1
- ability to create a new folder in NAS directory prior to initiating download HOT 1
- add link to login error message directing users to the FAQ if certs are the likely culprit
- Die angeforderte API existiert nicht.
- It can't login to NAS anymore HOT 2
- Support http authentication
- Loggin issue on DSM 7 HOT 2
- "URL(s) to download" auto-focus
- Announcement: Maintenance Mode 🔧
- cannoct login using quickconnect, only local IP address HOT 1
- Connection failed for an unknown reason DSM7 HOT 2
- Decryption of DLC files
- IPv6 HOT 3
- DevTools console failed to load source map: Could not load content for chrome-extension://iaijio... System error: net::ERR_BLOCKED_BY_CLIENT HOT 2
- error when restarting browser HOT 3
- Magnet association with NAS Download Manager HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nas-download-manager.