Coder Social home page Coder Social logo

Comments (7)

pierreburgy avatar pierreburgy commented on May 1, 2024

Hi @buffonomics,

Simply go in the api/admin/public folder and run npm install && gulp dist (may be working only with Node 4). Then reload the admin page and it will work.

from strapi.

loicsaintroch avatar loicsaintroch commented on May 1, 2024

Related to #51.

from strapi.

iyobo avatar iyobo commented on May 1, 2024

Did that but Now admin doesn't launch.
I get blank screen with this in JS console:

Uncaught Error: [$injector:modulerr] Failed to instantiate module frontend due to:
Error: [$injector:unpr] Unknown provider: $tooltipProvider
http://errors.angularjs.org/1.4.8/$injector/unpr?p0=%24tooltipProvider
at http://localhost:1337/admin/vendors.min.js:1:381
at http://localhost:1337/admin/vendors.min.js:1:20014
at r (http://localhost:1337/admin/vendors.min.js:1:19184)
at Object.i as invoke
at r (http://localhost:1337/admin/vendors.min.js:1:18572)
at http://localhost:1337/admin/vendors.min.js:1:18696
at o (http://localhost:1337/admin/vendors.min.js:1:807)
at f (http://localhost:1337/admin/vendors.min.js:1:18473)
at et (http://localhost:1337/admin/vendors.min.js:1:20163)
at l (http://localhost:1337/admin/vendors.min.js:1:7506)
http://errors.angularjs.org/1.4.8/$injector/modulerr?p0=frontend&p1=Error%3
t%20l%20(http%3A%2F%2Flocalhost%3A1337%2Fadmin%2Fvendors.min.js%3A1%3A7506)

from strapi.

iyobo avatar iyobo commented on May 1, 2024

Using Node v4.2.4

from strapi.

pierreburgy avatar pierreburgy commented on May 1, 2024

Could you try to run :

$ npm update strapi -g
$ rm -rf api/admin
$ strapi generate admin
$ cd api/admin/public
$ npm install
$ gulp dist

from strapi.

iyobo avatar iyobo commented on May 1, 2024

Okay thanks that did it. Prefix now properly representing.

As an addition to that instruction, I also had to run:
rm -rf public/admin
from the project root after step 2 before running:
strapi generate admin
to avoid the "symlink already exists" error. so:

npm update strapi -g
rm -rf api/admin
rm -rf public/admin
strapi generate admin
cd api/admin/public
npm install
gulp dist

from strapi.

pierreburgy avatar pierreburgy commented on May 1, 2024

Good catch ;)

from strapi.

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.