Comments (9)
Actually looks like a build error, having tried to rerun it I get:
> [email protected] build /home/node/strider
> npm run pre && npm run styles && browserify -d -t [babelify --presets [ es2015 ] --only client] -p [minifyify --output dist/scripts/bundle.map] -e client/app.js -o dist/scripts/app.js
> [email protected] pre /home/node/strider
> mkdirp dist/scripts dist/styles
> [email protected] styles /home/node/strider
> lessc client/styles/strider.less > dist/styles/styles.css
uglify-js failed on public/libs/ui-bootstrap.js : SyntaxError: Unexpected character '`'
uglify-js failed on public/libs/ui-codemirror.js : SyntaxError: Unexpected character '`'
uglify-js failed on vendor/bootstrap/js/bootstrap.js : SyntaxError: Unexpected character '`'
uglify-js failed on vendor/CodeMirror/js/codemirror.js : SyntaxError: Unexpected character '`'
uglify-js failed on vendor/jquery-timeago/js/jquery.timeago.js : SyntaxError: Unexpected character '`'
uglify-js failed on vendor/Sortable/js/Sortable.js : SyntaxError: Unexpected character '`'
uglify-js failed on vendor/bootbox/js/bootbox.js : SyntaxError: Unexpected character '`'
uglify-js failed on node_modules/strip-ansi/index.js : SyntaxError: Unexpected token: operator (>)
uglify-js failed on node_modules/strip-ansi/node_modules/ansi-regex/index.js : SyntaxError: Unexpected token: operator (>)
uglify-js failed on node_modules/debug/src/browser.js : SyntaxError: Unexpected token: name (index)
uglify-js failed on node_modules/debug/src/common.js : SyntaxError: Unexpected token: operator (>)
from strider.
Those errors should not prevent it from working. Did you install from npm or GitHub directly?
The assets should be there. As a workaround try
cd client-ember
yarn install
yarn build
from strider.
Should be fixed in v2.4.2
from strider.
It's a very old install, NPM originally. I wiped the NPM directory, checked out the github repo and ran npm install
and I've been having some trouble with it.
On Fedora 32, node v12.16.1
I didn't have yarn installed as it's not listed as a dependency on the install page, however. Don't know if that matters.
Tried what you suggested above and I get a linting error
strider/templates/application.hbs
2:2 error All `<button>` elements should have a valid `type` attribute require-button-type
I get a typescript error
app/services/live.ts:2:25 - error TS2307: Cannot find module '@glimmer/tracking'.
2 import { tracked } from '@glimmer/tracking';
~~~~~~~~~~~~~~~~~~~
../node_modules/@types/mongoose/index.d.ts:1651:7 - error TS2416: Property 'set' in type 'Array<T>' is not assignable to the same property in base type 'T[]'.
Type '(i: number, val: any) => this' is not assignable to type '{ <K extends keyof this>(key: K, value: this[K]): this[K]; <T>(key: keyof this, value: T): T; }'.
Type 'this' is not assignable to type 'this[any]'.
Type 'Array<T>' is not assignable to type 'this[any]'.
Type 'Array<T>' is not assignable to type 'T'.
'Array<T>' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '{}'.
Type 'this' is not assignable to type 'T'.
'this' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '{}'.
Type 'Array<T>' is not assignable to type 'T'.
'Array<T>' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '{}'.
1651 set(i: number, val: any): this;
But ultimately it completes.
So I restart Strider. I can get to the project page now, but when I trigger a build it fails. Looking at the log, I get npm ERR! invalid bin entry for package @babel/[email protected]. key=parser, value=bin/babel-parser.js
which I'm guessing is Strider as my project doesn't use Babel. Any ideas? I tried npm i -g @babel/parser
and that doesn't help :)
from strider.
...or should I just re-checkout and try again now I have yarn installed?
from strider.
Add DEBUG=strider* to your start command to see what's going on with your build. Paste the logs once you have them.
from strider.
Startup I get this:
2020-05-02T13:48:48.418Z - info: Connecting to MongoDB URL: mongodb://localhost:27017/strider-foss
2020-05-02T13:48:48.467Z - info: prod config
Error: Cannot find module '../build/Release/bson'
Require stack:
- /home/node/strider/node_modules/strider-webhooks/node_modules/bson/ext/index.js
- /home/node/strider/node_modules/strider-webhooks/node_modules/bson/lib/bson/index.js
- /home/node/strider/node_modules/strider-webhooks/webapp.js
- /home/node/strider/node_modules/strider-extension-loader/lib/index.js
- /home/node/strider/node_modules/strider-extension-loader/main.js
- /home/node/strider/dist-lib/index.js
- /home/node/strider/bin/strider
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
at Function.Module._load (internal/modules/cjs/loader.js:864:27)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/home/node/strider/node_modules/strider-webhooks/node_modules/bson/ext/index.js:15:10)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/home/node/strider/node_modules/strider-webhooks/node_modules/bson/lib/bson/index.js:3:24)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/home/node/strider/node_modules/strider-webhooks/webapp.js:1:16)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at /home/node/strider/node_modules/strider-extension-loader/lib/index.js:324:29
at /home/node/strider/node_modules/strider-extension-loader/lib/index.js:355:11
at /home/node/strider/node_modules/strider-extension-loader/node_modules/async/lib/async.js:511:21 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/node/strider/node_modules/strider-webhooks/node_modules/bson/ext/index.js',
'/home/node/strider/node_modules/strider-webhooks/node_modules/bson/lib/bson/index.js',
'/home/node/strider/node_modules/strider-webhooks/webapp.js',
'/home/node/strider/node_modules/strider-extension-loader/lib/index.js',
'/home/node/strider/node_modules/strider-extension-loader/main.js',
'/home/node/strider/dist-lib/index.js',
'/home/node/strider/bin/strider'
]
}
2020-05-02T13:48:50.119Z - info: Express server listening on port 3000 in production mode```
from strider.
Looks like you need to reinstall. Do npm install -g yarn
and then yarn install
.
from strider.
OK thanks. Will give it a go
from strider.
Related Issues (20)
- Cancelled Deployment = Cannot Deploy Anything - UnhandledPromiseRejectionWarning HOT 2
- After upgrading to 2.0: Failed to load template: build-tpl.html HOT 6
- Modernizing the strider stack HOT 1
- Strider won't install HOT 6
- Strider can't access organisational repositories HOT 3
- Build fails: Cannot find type definition file for 'express-session' HOT 5
- Deprecate strider.json merge_plugins option HOT 3
- 500 TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined HOT 4
- Audit calls to debug
- 500 TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined HOT 4
- Config to change default branch name HOT 1
- Installation instructions need updating HOT 2
- Fonts and ssl HOT 3
- [Feature Request] Add support for gitea SCM HOT 1
- screenshots are broken in wiki screenshots page HOT 1
- several vulnerabilities CVE-2020-15168,CVE-2020-7598 are introduced in strider HOT 1
- Unable to run scheduled jobs on Katalon Testops - Error: spawn git ENOENT
- Missing license HOT 1
- Same SPN usage in different projects - Azure DevOps 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 strider.