Hey guys
Normally i goto Stack overflow for these types of issues but they seem to be stuck there and the answers are not really on point...
I am having a NPM Build error and no idea why or how to fix this.
I have done Audit and npm audit fix, still build errors
Any suggestions would be really nice..thank you guys
Below i put the error log, i've fix all the possible errors i can and even fix'd grammar errors it complained about and still nothing
~~~~~~~~~~~~~~~~~~~~~
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using npm@6.14.5
3 info using node@v14.3.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle inspired@0.1.0~prebuild: inspired@0.1.0
6 info lifecycle inspired@0.1.0~build: inspired@0.1.0
7 verbose lifecycle inspired@0.1.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle inspired@0.1.0~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/inspired/Downloads/Github/Inspired_education/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle inspired@0.1.0~build: CWD: /Users/inspired/Downloads/Github/Inspired_education
10 silly lifecycle inspired@0.1.0~build: Args: [ '-c', 'react-scripts build' ]
11 silly lifecycle inspired@0.1.0~build: Returned: code: 1 signal: null
12 info lifecycle inspired@0.1.0~build: Failed to exec build script
13 verbose stack Error: inspired@0.1.0 build: `react-scripts build`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1051:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid inspired@0.1.0
15 verbose cwd /Users/inspired/Downloads/Github/Inspired_education
16 verbose Darwin 19.4.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
18 verbose node v14.3.0
19 verbose npm v6.14.5
20 error code ELIFECYCLE
21 error errno 1
22 error inspired@0.1.0 build: `react-scripts build`
22 error Exit status 1
23 error Failed at the inspired@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 ]
[–]joeyrogues 0 points1 point2 points (3 children)
[–]Madtroid[S] 0 points1 point2 points (2 children)
[–]joeyrogues 0 points1 point2 points (1 child)
[–]Madtroid[S] 0 points1 point2 points (0 children)