-
-
Notifications
You must be signed in to change notification settings - Fork 639
Open
Description
Problem when launch :
npx create-inferno-app appname- I get this error
Creating a new Inferno app in /user/Documents/appname.
WATcia-template asddas undefined
Installing packages. This might take a couple of minutes.
Installing inferno and inferno-scripts with cia-template...
added 1299 packages in 2m
344 packages are looking for funding
run `npm fund` for details
file:////user/Documents/appname/node_modules/inferno-scripts/config/paths.js:16
import ownPackageJson from '../package.json' assert { type: 'json' };
^^^^^^
SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:318:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:111:18)
at #translate (node:internal/modules/esm/loader:473:20)
at afterLoad (node:internal/modules/esm/loader:529:29)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:534:12)
at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:577:36)
at afterResolve (node:internal/modules/esm/loader:625:52)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:631:12)
at ModuleJob.syncLink (node:internal/modules/esm/module_job:160:33)
at ModuleJob.link (node:internal/modules/esm/module_job:245:17)
Node.js v24.13.1
Aborting installation.
node --input-type=module has failed.
Deleting generated file... node_modules
Deleting generated file... package-lock.json
Deleting generated file... package.json
Deleting appname/ from user/Documents/appname
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels