-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
i'm trying to install this package with gitpkg and it doesn't seem to work no matter what i do.
there is a build script in its package.json, which npm usually runs by default when installing git dependencies. gitpkg should be doing the same thing.
i've tried adding a postinstall custom script that just calls the build script
{
"@smui-extra/common": "https://gitpkg.now.sh/detachhead/svelte-material-ui/packages/common?c724f04adf2d9f4e18758387f493a5361de1a3ea&scripts.postinstall=npm%20run%20build"
}but that didn't work, it seems because it doesn't install the package's devDependencies by default?
> npm i
npm ERR! code 1
npm ERR! path C:\project\node_modules\@smui-extra\common
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npm run build
npm ERR! > @smui/[email protected] build
npm ERR! > npm run build:js && npm run build:svelte
npm ERR!
npm ERR!
npm ERR! > @smui/[email protected] build:js
npm ERR! > tsc -p . --outDir dist/ --rootDir src/
npm ERR!
npm ERR!
npm ERR! > @smui/[email protected] build:svelte
npm ERR! > svelte-strip strip src/ dist
npm ERR! 'svelte-strip' is not recognized as an internal or external command,
npm ERR! operable program or batch file.
the only custom script it seems to run when provided is postinstall, meaning i can't just make a postinstall script to run npm install otherwise it just gets caught in an infinite loop
DetachHead, epiphone, KotlinIsland, Eucladia and oleksandr-danylchenko
Metadata
Metadata
Assignees
Labels
No labels
