Comments (2)
Hi @TimoPromann - thank's for writing in,
The issue is that rm
isn't a valid command in the cmd - and since NPM likes to pipe windows shell commands directly through the windows cmd executable in c:\WINDOWS\System32
, when it hits that rm -rf dist
command it blows up. We're going to look into resolving this to make it more cross-OS friendly, but for the moment I'd recommend trying to do this in WSL, running this in PowerShell seems to encounter the same issue..
If that's not an option, you could replace this line with:
"build": "del dist /Q && webpack --config webpack.config.js",
that will leverage the cmd del
command instead of the rm
command
from opentok-network-test-js.
Hi @slorello89 - thank you for your comment!
The line you suggested worked for building the module in the main directory.
However, when trying to set up the sample app, "npm install", I got another error:
392 verbose stack Error: EPERM: operation not permitted, symlink '..\..' -> 'C:\Users\baj0712\app_dev\opentok-network-test-js\sample\node_modules\opentok-network-test-js'
393 verbose cwd C:\Users\baj0712\app_dev\opentok-network-test-js\sample
394 verbose Windows_NT 10.0.17134
395 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
396 verbose node v15.0.1
397 verbose npm v7.0.3
398 error code EPERM
399 error syscall symlink
400 error path ..\..
401 error dest C:\Users\baj0712\app_dev\opentok-network-test-js\sample\node_modules\opentok-network-test-js
402 error errno -4048
403 error Error: EPERM: operation not permitted, symlink '..\..' -> 'C:\Users\baj0712\app_dev\opentok-network-test-js\sample\node_modules\opentok-network-test-js'
403 error [Error: EPERM: operation not permitted, symlink '..\..' -> 'C:\Users\baj0712\app_dev\opentok-network-test-js\sample\node_modules\opentok-network-test-js'] {
403 error errno: -4048,
403 error code: 'EPERM',
403 error syscall: 'symlink',
403 error path: '..\\..',
403 error dest: 'C:\\Users\\baj0712\\app_dev\\opentok-network-test-js\\sample\\node_modules\\opentok-network-test-js'
403 error }
404 error The operation was rejected by your operating system.
404 error It's possible that the file was already in use (by a text editor or antivirus),
404 error or that you lack permissions to access it.
404 error
404 error If you believe this might be a permissions issue, please double-check the
404 error permissions of the file and its containing directories, or try running
404 error the command again as root/Administrator.
405 verbose exit -4048
So it seems that within the node modules in the sample app, the folder "opentok-network-test-js" shall be reached. But this seems to fail.
Do you have another suggestion for me how to fix this?
from opentok-network-test-js.
Related Issues (20)
- Argument of type 'typeof OT' is not assignable to parameter of type 'Client'. HOT 4
- Chrome Android - Can't repeat test twice HOT 1
- axios high vulnerability issue HOT 1
- How i can determine the percentage of tested connection like in loader in https://tokbox.com/developer/tools/precall/results
- Plan B SDP not supported anymore HOT 4
- bundle.js not found
- Contradicting network result
- Why do we need to use different session ID than the session ID for a call ?
- highcharts-8.2.2.tgz: 1 vulnerabilities (highest severity is: 5.4) - autoclosed HOT 1
- axios-0.21.1.tgz: 3 vulnerabilities (highest severity is: 7.5) - autoclosed HOT 1
- Usage problem in Angular14 library HOT 1
- Dependency on vulnerable version of axios (<1.6.0)
- axios-0.21.4.tgz: 2 vulnerabilities (highest severity is: 6.5) - autoclosed HOT 2
- OT_STREAM_DESTROYED after few seconds of network test start HOT 1
- Retry Test
- FailedToCreateLocalPublisher when camera in use even on audioOnly HOT 1
- Firefox support
- axios-1.6.8.tgz: 1 vulnerabilities (highest severity is: 7.5)
- metrics.yml - Ensure top-level permissions are not set to write-all
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 opentok-network-test-js.