-
Notifications
You must be signed in to change notification settings - Fork 469
Description
Issue Type:
Hey guys, I always did this in the past but last time I ran "npm run-script build" I have received an error. Not sure what is happening since the only thing I did was to delete a logo from my app.js and also update appbase using npm i @appbaseio/reactivesearch@latest (also updated npm using npm i -g npm-upgrade
Platform:
Win10
Description:
Error as per below:
PS C:\ozgamefinder> npm run-script build
booksearch@0.1.0 build C:\ozgamefinder
react-scripts build
Creating an optimized production build...
Failed to compile.
./src/App.css
Module build failed: BrowserslistError: Unknown browser query basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
at Array.forEach ()
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! booksearch@0.1.0 build: react-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the booksearch@0.1.0 build 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\Roxxx\AppData\Roaming\npm-cache_logs\2018-11-27T12_05_50_366Z-debug.log
**Reactivesearch version:**2.14.1
Do you have any clues on what can be happening?
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-script',
1 verbose cli 'build' ]
2 info using npm@5.6.0
3 info using node@v8.10.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle booksearch@0.1.0prebuild: booksearch@0.1.0build: booksearch@0.1.0
6 info lifecycle booksearch@0.1.0
7 verbose lifecycle booksearch@0.1.0build: unsafe-perm in lifecycle truebuild: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\ozgamefinder\node_modules.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\OpenVPN\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6;C:\WINDOWS\System32\OpenSSH;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\PuTTY;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\OpenVPN\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6;C:\WINDOWS\System32\OpenSSH;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Users\Roxxx\AppData\Local\Programs\Python\Python36-32\Scripts;C:\Users\Roxxx\AppData\Local\Programs\Python\Python36-32;C:\Users\Roxxx\AppData\Local\Microsoft\WindowsApps;C:\Users\Roxxx\AppData\Local\GitHubDesktop\bin;C:\Users\Roxxx\AppData\Local\atom\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\Roxxx\AppData\Roaming\npm;C:\Users\Roxxx\AppData\Local\Microsoft\WindowsApps;;c:\anaconda\scripts;c:\anaconda
8 verbose lifecycle booksearch@0.1.0
9 verbose lifecycle booksearch@0.1.0build: CWD: C:\ozgamefinderbuild: Args: [ '/d /s /c', 'react-scripts build' ]
10 silly lifecycle booksearch@0.1.0
11 silly lifecycle booksearch@0.1.0build: Returned: code: 1 signal: nullbuild: Failed to exec build script
12 info lifecycle booksearch@0.1.0
13 verbose stack Error: booksearch@0.1.0 build: react-scripts build
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (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. (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 booksearch@0.1.0
15 verbose cwd C:\ozgamefinder
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-script" "build"
18 verbose node v8.10.0
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error booksearch@0.1.0 build: react-scripts build
22 error Exit status 1
23 error Failed at the booksearch@0.1.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Thanks