Comments (13)
It works perfectly fine for me. Can you please share the environment details (OS, Node JS version, NPM version)
from play-scala-react-seed.
yarn version v1.12.1
nide version v11.4.0
mac High Sierra 10.13.6
I installed all npm packages through yarn.
from play-scala-react-seed.
Can you try installing the node LTS version.
from play-scala-react-seed.
Now using node v10.14.2
Error:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node@10/10.14.2/bin/node',
1 verbose cli '/usr/local/opt/node@10/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 info lifecycle [email protected]~build: [email protected]
7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~build: PATH: /usr/local/Cellar/node@10/10.14.2/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/avremel/Desktop/scala_react/ui/node_modules/.bin:/usr/local/opt/node@10/bin:/usr/local/opt/[email protected]/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
9 verbose lifecycle [email protected]~build: CWD: /Users/avremel/Desktop/scala_react/ui
10 silly lifecycle [email protected]~build: Args: [ '-c',
10 silly lifecycle 'rimraf ../public && react-scripts build && ncp build ../public && rimraf build' ]
11 silly lifecycle [email protected]~build: Returned: code: 1 signal: null
12 info lifecycle [email protected]~build: Failed to exec build script
13 verbose stack Error: [email protected] build: `rimraf ../public && react-scripts build && ncp build ../public && rimraf build`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/Cellar/node@10/10.14.2/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/Cellar/node@10/10.14.2/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:962:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/avremel/Desktop/scala_react/ui
16 verbose Darwin 17.7.0
17 verbose argv "/usr/local/Cellar/node@10/10.14.2/bin/node" "/usr/local/opt/node@10/bin/npm" "run" "build"
18 verbose node v10.14.2
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: `rimraf ../public && react-scripts build && ncp build ../public && rimraf build`
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
from play-scala-react-seed.
cd into ui
dir and run yarn build
to verify whether client project is building properly
from play-scala-react-seed.
yarn build is working fine
from play-scala-react-seed.
I see the output of yarn build
in the root public
folder
from play-scala-react-seed.
are you running ./sbt clean dist
in project root dir?
from play-scala-react-seed.
:) happy to help, did you try cloning this repo fresh and building it. Just want to make sure this happened prior to making any changes.
from play-scala-react-seed.
thanks 👍
i cloned the repo and did sbt dist
, worked fine.
let me now copy stuff over...
from play-scala-react-seed.
okay great! i will close this issue then
from play-scala-react-seed.
It was failing on a javascript linting error for not having rel="noopener noreferrer"
set on an <a>
tag
from play-scala-react-seed.
Linters emit kill signal 1 when errors occur, which is causing the build failure.
from play-scala-react-seed.
Related Issues (20)
- Setup `postUpdateHooks` so Scala Steward can update docs
- Failure on running 'stage' or 'dist' because of 'env CI=true' !!! HOT 6
- `npm run build` is not hooked HOT 2
- How do you get the Play server to stop? Ctrl-C only stops React, it seems... HOT 11
- sbt run causing an error related to BABEL. It can't find `./src/data` HOT 2
- How to deploy in production env like( amazon ecs) ? HOT 1
- It should be possible to start the front end and back end with a single command HOT 18
- Question: about watchSources HOT 3
- Action Not Found For request 'GET /' HOT 4
- How to handle fork with TypeScript HOT 1
- react-scripts: not found HOT 1
- Can't run database evolutions HOT 1
- Passing environment variable to React app HOT 1
- Is this repository dead? HOT 15
- Basic CI with GitHub actions HOT 2
- Scalafmt for backend formatting HOT 1
- Setup Scala Steward HOT 5
- Allow for backend and integration tests
- Prettier for frontend formatting HOT 1
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 play-scala-react-seed.