Giter Site home page Giter Site logo

Module not found about react.cordova HOT 4 CLOSED

uidb-dev avatar uidb-dev commented on May 26, 2024
Module not found

from react.cordova.

Comments (4)

orchuban avatar orchuban commented on May 26, 2024 1

@malutanpetronel Hey, can you share with me your project code on Github?

This error come from react, not form my cli.
If you try to comment/remove import react-admin, is it work good?
If yes, is not bug on my cli, please share it on stackoverflow (and tag me, i will try to help you)

from react.cordova.

malutanpetronel avatar malutanpetronel commented on May 26, 2024

should not run: npm install react-admin

from react.cordova.

orchuban avatar orchuban commented on May 26, 2024

Hi, maybe it's because you ran npm install {package_name} without cd hellow_world before.

from react.cordova.

malutanpetronel avatar malutanpetronel commented on May 26, 2024

############# app.js
######################
import React from 'react';
import {HydraAdmin} from '@api-platform/admin';

export default () => (

);

################

npm start outputs:1

./src/App.js
Module not found: Can't resolve '@api-platform/admin' in '/home/petro/Documents/Docker/www/spa/reco/reco_base_app_generator/src'

reco-cli-bundleServe, error at react start serve.
ERROR :Error: Command failed: npm run-script reactstart
/home/petro/Documents/Docker/www/spa/reco/reco_base_app_generator/node_modules/react-scripts/scripts/start.js:19
throw err;
^

[Error: ENOENT: no such file or directory, stat '/initrd.img'] {
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/initrd.img'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] reactstart: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] reactstart script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/petro/.npm/_logs/2021-08-05T18_16_26_042Z-debug.log

Any ideea @orchoban please ?

from react.cordova.

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.