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

Npm start doesn't work #1385

Open
CodeWithSubramani opened this issue Jan 25, 2023 · 0 comments
Open

Npm start doesn't work #1385

CodeWithSubramani opened this issue Jan 25, 2023 · 0 comments

Comments

@CodeWithSubramani
Copy link

getting this error on npm start:

[webpack-cli] Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.resolve has an unknown property 'fallback'. These properties are valid:
    object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, ignoreRootsErrors?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, preferAbsolute?, resolver?, roots?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
    -> Options for the resolver
    child_process.js:674
    throw err;
    ^

Error: Command failed: /home/ubuntu/geonode-mapstore-client/geonode_mapstore_client/client/node_modules/.bin/webpack serve --progress --color --port 8081 --hot --inline --config /home/ubuntu/geonode-mapstore-client/geonode_mapstore_client/client/node_modules/@mapstore/project/types/standard/config/webpack.config.js
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at Object. (/home/ubuntu/geonode-mapstore-client/geonode_mapstore_client/client/node_modules/@mapstore/project/scripts/start.js:32:6)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
status: 2,
signal: null,
output: [ null, null, null ],
pid: 8528,
stdout: null,
stderr: null
}
child_process.js:674
throw err;
^

Error: Command failed: node /home/ubuntu/geonode-mapstore-client/geonode_mapstore_client/client/node_modules/@mapstore/project/scripts/start.js --type=standard
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at Object. (/home/ubuntu/geonode-mapstore-client/geonode_mapstore_client/client/node_modules/@mapstore/project/bin/mapstore-project.js:28:10)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 8520,
stdout: null,
stderr: null
}

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

No branches or pull requests

1 participant