GithubHelp home page GithubHelp logo

Error from `npm start` about syndesis-ui HOT 7 CLOSED

syndesisio avatar syndesisio commented on June 1, 2024
Error from `npm start`

from syndesis-ui.

Comments (7)

gashcrumb avatar gashcrumb commented on June 1, 2024

Was going to try installing tslint-loader and using it's example config, however it fails to install here. Wonder though, looking at the config it seems to be basically turned off, maybe we should keep that out for now? Looks though like there's other webpack config items that'll need updating.

from syndesis-ui.

kahboom avatar kahboom commented on June 1, 2024

Hmm I wonder when the latest pull you made was? I would delete your npm-shrinkwrap and run that magical cleanup alias, reinstall npm packages and try again.

from syndesis-ui.

kahboom avatar kahboom commented on June 1, 2024

There have been issues with the shrinkwrap, so I was thinking that while the application is under development that maybe we should remove it completely.

from syndesis-ui.

gashcrumb avatar gashcrumb commented on June 1, 2024

yeah, maybe the shrinkwrap is a better thing for a product branch.

from syndesis-ui.

gashcrumb avatar gashcrumb commented on June 1, 2024

Hmm, no luck removing the shrinkwrap, it looks like it's still failing with the same reported error.

from syndesis-ui.

gashcrumb avatar gashcrumb commented on June 1, 2024

Oh, also just in case:

C:\Source\hawtio-ipaas [master ≡ +0 ~0 -1 !]> npm --version
3.4.1
C:\Source\hawtio-ipaas [master ≡ +0 ~0 -1 !]> node -v
v6.6.0

from syndesis-ui.

gashcrumb avatar gashcrumb commented on June 1, 2024

Making this change to package.json fixes the reported error for me:

    "webpack": "2.1.0-beta.21",
    "webpack-dev-middleware": "1.6.1",
    "webpack-dev-server": "2.1.0-beta.2",
    "webpack-md5-hash": "0.0.5",
    "webpack-merge": "0.14.1"

So we may need to consider locking down even our dev dependencies and carefully evaluate updates. I guess they're not to worried about making breaking changes to the config in beta versions of webpack. I did however get this error once npm start uh started up:

WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
45:15 Critical dependency: the request of a dependency is an expression

WARNING in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
57:15 Critical dependency: the request of a dependency is an expression

ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve '@ng-bootstrap/ng-bootstrap' in 'C:\Source\hawtio-ipaas\src\app'
 @ ./src/app/app.module.ts 24:21-58
 @ ./src/app/index.ts
 @ ./src/main.browser.ts
 @ multi main

from syndesis-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.