Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spike Scully when using nhipster (jhipster framework with backEnd in Node.js) #843

Open
Toysurusse opened this issue Aug 11, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation Spike
Milestone

Comments

@Toysurusse
Copy link

Toysurusse commented Aug 11, 2020

🗄️ Docs report

Description

Like issue #108 I had this issue when I tried to implement Scully in nhipster (jhipster with a backend in node.js).

I had to change line 93 and 107 the route of the folder polyfills.ts. In fact, the root of nhipster angular client is src/main/webapp/polyfills.ts

🔬 Minimal Reproduction

Reproduction Steps**

jhipster : 6.8.0
node : 14.4.0
npm : 6.14.7

To install nhipster : https://github.com/jhipster/generator-jhipster-nodejs
npm install -g generator-jhipster-nodejs
nhipster (to create a project)

Now you have nhipster in your project. Let install front and back
npm install
cd server
npm install

Add Scully :
ng add @scullyio/init

Résult :
Installing packages for tooling via npm.
Installed packages for tooling via npm.
Cannot read property 'toString' of null

🔬 Solution

Modify Scully index.js to let find the appropriate polufill.ts

@Toysurusse Toysurusse added the documentation Improvements or additions to documentation label Aug 11, 2020
@geromegrignon
Copy link
Contributor

Please update the required steps to create a project (as the second one is useless and the third one doesn't work without basic jhipster generator) as it'll help the maintainers to reproduce your issue:

npm install -g generator-jhipster-nodejs
nhipster (to create a project)

@amycdurbin amycdurbin changed the title Scully when using nhipster (jhipster framework with backEnd in Node.js) Spike Scully when using nhipster (jhipster framework with backEnd in Node.js) Aug 11, 2020
@SanderElias SanderElias added this to the Priority 0 milestone Aug 17, 2020
@xPedrol
Copy link

xPedrol commented Feb 17, 2021

Im getting this same issue, can you explain how to modify Scully index.js? Because i dont have this file, my ng add just added the dependence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Spike
Projects
None yet
Development

No branches or pull requests

6 participants