-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I can't run the example! Windows enviroment problem? :(
Bash:
npm run example
> [email protected] example C:\Users\PORCO.DIO\Downloads\braintree-dropin-react-master
> ./node_modules/webpack/bin/webpack.js && ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] example: `./node_modules/webpack/bin/webpack.js && ./node_modules/webpack-dev-server/bin/webpack-dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] example script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\PORCO.DIO\AppData\Roaming\npm-cache\_logs\2019-02-11T09_36_50_147Z-debug.log
Debug log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'example' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preexample', 'example', 'postexample' ]
5 info lifecycle [email protected]~preexample: [email protected]
6 info lifecycle [email protected]~example: [email protected]
7 verbose lifecycle [email protected]~example: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~example: PATH: [...]
9 verbose lifecycle [email protected]~example: CWD: C:\Users\PORCO.DIO\Downloads\braintree-dropin-react-master
10 silly lifecycle [email protected]~example: Args: [ '/d /s /c',
10 silly lifecycle './node_modules/webpack/bin/webpack.js && ./node_modules/webpack-dev-server/bin/webpack-dev-server.js' ]
11 silly lifecycle [email protected]~example: Returned: code: 1 signal: null
12 info lifecycle [email protected]~example: Failed to exec example script
13 verbose stack Error: [email protected] example: `./node_modules/webpack/bin/webpack.js && ./node_modules/webpack-dev-server/bin/webpack-dev-server.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\Users\PORCO.DIO\Downloads\braintree-dropin-react-master\example
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "example"
18 verbose node v8.11.3
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] example: `./node_modules/webpack/bin/webpack.js && ./node_modules/webpack-dev-server/bin/webpack-dev-server.js`
22 error Exit status 1
23 error Failed at the [email protected] example script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Metadata
Metadata
Assignees
Labels
No labels